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-02-19 14:40:25 -06:00
|
|
|
If you want more information on this error, try using "rustc --explain E0061"
|