]> git.lizzy.rs Git - rust.git/blob - src/test/ui/hrtb/issue-58451.stderr
Rollup merge of #98385 - m-ou-se:llvm-12-memory-order, r=petrochenkov
[rust.git] / src / test / ui / hrtb / issue-58451.stderr
1 error[E0061]: this function takes 1 argument but 0 arguments were supplied
2   --> $DIR/issue-58451.rs:12:9
3    |
4 LL |     f(&[f()]);
5    |         ^-- an argument is missing
6    |
7 note: function defined here
8   --> $DIR/issue-58451.rs:5:4
9    |
10 LL | fn f<I>(i: I)
11    |    ^    ----
12 help: provide the argument
13    |
14 LL |     f(&[f(/* value */)]);
15    |         ~~~~~~~~~~~~~~
16
17 error: aborting due to previous error
18
19 For more information about this error, try `rustc --explain E0061`.