rust/src/test/ui/hrtb/issue-58451.stderr

17 lines
424 B
Plaintext
Raw Normal View History

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()]);
| ^^^ expected 1 parameter
error: aborting due to previous error
For more information about this error, try `rustc --explain E0061`.