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