]> git.lizzy.rs Git - rust.git/blob - src/test/ui/argument-suggestions/issue-96638.stderr
Rollup merge of #102854 - semarie:openbsd-immutablestack, r=m-ou-se
[rust.git] / src / test / ui / argument-suggestions / issue-96638.stderr
1 error[E0061]: this function takes 3 arguments but 2 arguments were supplied
2   --> $DIR/issue-96638.rs:8:5
3    |
4 LL |     f(&x, "");
5    |     ^ --  -- expected `usize`, found `&str`
6    |       |
7    |       an argument of type `usize` is missing
8    |
9 note: function defined here
10   --> $DIR/issue-96638.rs:1:4
11    |
12 LL | fn f(_: usize, _: &usize, _: usize) {}
13    |    ^ --------  ---------  --------
14 help: provide the argument
15    |
16 LL |     f(/* usize */, &x, /* usize */);
17    |      ~~~~~~~~~~~~~~~~~~~~~~~~~~~~~~
18
19 error: aborting due to previous error
20
21 For more information about this error, try `rustc --explain E0061`.