2017-12-10 13:47:55 -06:00
|
|
|
error[E0061]: this function takes 2 parameters but 1 parameter was supplied
|
2017-12-12 14:46:33 -06:00
|
|
|
--> $DIR/issue-18819.rs:26:5
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | fn print_x(_: &Foo<Item=bool>, extra: &str) {
|
2017-12-12 14:46:33 -06:00
|
|
|
| ------------------------------------------- defined here
|
2017-12-10 13:47:55 -06:00
|
|
|
...
|
2018-02-22 18:42:32 -06:00
|
|
|
LL | print_x(X);
|
2017-12-12 14:46:33 -06:00
|
|
|
| ^^^^^^^^^^ expected 2 parameters
|
2017-12-10 13:47:55 -06:00
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
2018-03-03 08:59:40 -06:00
|
|
|
For more information about this error, try `rustc --explain E0061`.
|