fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #71868 - Mark-Simulacrum:stable-1.43.1, r=pietroalbini8d69840ab92

1.43.1
444 B14 linesraw
1error[E0061]: this function takes 2 arguments but 1 argument was supplied
2  --> $DIR/issue-18819.rs:16:5
3   |
4LL | fn print_x(_: &dyn Foo<Item=bool>, extra: &str) {
5   | ----------------------------------------------- defined here
6...
7LL |     print_x(X);
8   |     ^^^^^^^ - supplied 1 argument
9   |     |
10   |     expected 2 arguments
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0061`.