17 lines
466 B
Plaintext
17 lines
466 B
Plaintext
|
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()]); //~ ERROR this function takes 1 parameter
|
||
|
| ^^^ expected 1 parameter
|
||
|
|
||
|
error: aborting due to previous error
|
||
|
|
||
|
For more information about this error, try `rustc --explain E0061`.
|