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