fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

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