fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #66089 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum4560ea788cb

1.39.0
424 B16 linesraw
1error[E0061]: this function takes 1 parameter but 0 parameters were supplied
2  --> $DIR/issue-58451.rs:12:9
3   |
4LL | / fn f<I>(i: I)
5LL | | where
6LL | |     I: IntoIterator,
7LL | |     I::Item: for<'a> Into<&'a ()>,
8LL | | {}
9   | |__- defined here
10...
11LL |       f(&[f()]);
12   |           ^^^ expected 1 parameter
13
14error: aborting due to previous error
15
16For more information about this error, try `rustc --explain E0061`.