]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-18819.stderr
Merge commit '7c7683c8efe447b251d6c5ca6cce51233060f6e8' into clippyup
[rust.git] / src / test / ui / issues / issue-18819.stderr
1 error[E0061]: this function takes 2 arguments but 1 argument was supplied
2   --> $DIR/issue-18819.rs:16:5
3    |
4 LL |     print_x(X);
5    |     ^^^^^^^ - supplied 1 argument
6    |     |
7    |     expected 2 arguments
8    |
9 note: function defined here
10   --> $DIR/issue-18819.rs:11:4
11    |
12 LL | fn print_x(_: &dyn Foo<Item=bool>, extra: &str) {
13    |    ^^^^^^^ ----------------------  -----------
14
15 error: aborting due to previous error
16
17 For more information about this error, try `rustc --explain E0061`.