fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
467 B19 linesraw
1error[E0061]: this function takes 1 argument but 0 arguments were supplied
2  --> $DIR/issue-58451.rs:12:9
3   |
4LL |     f(&[f()]);
5   |         ^-- an argument is missing
6   |
7note: function defined here
8  --> $DIR/issue-58451.rs:5:4
9   |
10LL | fn f<I>(i: I)
11   |    ^    ----
12help: provide the argument
13   |
14LL |     f(&[f(/* i */)]);
15   |          ~~~~~~~~~
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0061`.