2019-02-20 11:52:23 -06:00
|
|
|
error[E0061]: this function takes 1 parameter but 0 parameters were supplied
|
|
|
|
--> $DIR/issue-58451.rs:12:9
|
|
|
|
|
|
|
|
|
LL | / fn f<I>(i: I)
|
|
|
|
LL | | where
|
|
|
|
LL | | I: IntoIterator,
|
|
|
|
LL | | I::Item: for<'a> Into<&'a ()>,
|
|
|
|
LL | | {}
|
|
|
|
| |__- defined here
|
|
|
|
...
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | f(&[f()]);
|
2019-02-20 11:52:23 -06:00
|
|
|
| ^^^ expected 1 parameter
|
|
|
|
|
|
|
|
error: aborting due to previous error
|
|
|
|
|
|
|
|
For more information about this error, try `rustc --explain E0061`.
|