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