]> git.proxmox.com Git - rustc.git/blame - src/test/ui/typeck/remove-extra-argument.stderr
New upstream version 1.63.0+dfsg1
[rustc.git] / src / test / ui / typeck / remove-extra-argument.stderr
CommitLineData
04454e1e 1error[E0061]: this function takes 1 argument but 2 arguments were supplied
923072b8 2 --> $DIR/remove-extra-argument.rs:6:5
04454e1e
FG
3 |
4LL | l(vec![], vec![])
923072b8 5 | ^ ------ argument unexpected
04454e1e
FG
6 |
7note: function defined here
923072b8 8 --> $DIR/remove-extra-argument.rs:3:4
04454e1e
FG
9 |
10LL | fn l(_a: Vec<u8>) {}
11 | ^ -----------
923072b8
FG
12help: remove the extra argument
13 |
14LL | l(vec![])
15 |
04454e1e
FG
16
17error: aborting due to previous error
18
19For more information about this error, try `rustc --explain E0061`.