]>
Commit | Line | Data |
---|---|---|
9c376795 | 1 | error[E0061]: this method takes 1 argument but 2 arguments were supplied |
5099ac24 FG |
2 | --> $DIR/wrong_argument_ice-3.rs:9:16 |
3 | | | |
4 | LL | groups.push(new_group, vec![process]); | |
9ffffee4 | 5 | | ^^^^ ------------- unexpected argument of type `Vec<&Process>` |
5099ac24 | 6 | | |
9ffffee4 | 7 | note: expected `(Vec<String>, Vec<Process>)`, found `Vec<String>` |
f2b60f7d FG |
8 | --> $DIR/wrong_argument_ice-3.rs:9:21 |
9 | | | |
10 | LL | groups.push(new_group, vec![process]); | |
11 | | ^^^^^^^^^ | |
923072b8 FG |
12 | = note: expected tuple `(Vec<String>, Vec<Process>)` |
13 | found struct `Vec<String>` | |
9ffffee4 | 14 | note: method defined here |
5099ac24 | 15 | --> $SRC_DIR/alloc/src/vec/mod.rs:LL:COL |
923072b8 FG |
16 | help: remove the extra argument |
17 | | | |
9ffffee4 FG |
18 | LL - groups.push(new_group, vec![process]); |
19 | LL + groups.push(/* (Vec<String>, Vec<Process>) */); | |
20 | | | |
5099ac24 FG |
21 | |
22 | error: aborting due to previous error | |
23 | ||
24 | For more information about this error, try `rustc --explain E0061`. |