fork/rust

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

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
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`.