blob: 4648c0182b98e6ebd7ecc97ca2858f2aec5a2bad [file] [log] [blame]
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
...
LL | f(&[f()]);
| ^^^ expected 1 parameter
error: aborting due to previous error
For more information about this error, try `rustc --explain E0061`.