summaryrefslogtreecommitdiffstats
path: root/tests/ui/tuple/wrong_argument_ice-3.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/tuple/wrong_argument_ice-3.stderr (renamed from src/test/ui/tuple/wrong_argument_ice-3.stderr)5
1 files changed, 1 insertions, 4 deletions
diff --git a/src/test/ui/tuple/wrong_argument_ice-3.stderr b/tests/ui/tuple/wrong_argument_ice-3.stderr
index f3a547fa2..0a503e1fe 100644
--- a/src/test/ui/tuple/wrong_argument_ice-3.stderr
+++ b/tests/ui/tuple/wrong_argument_ice-3.stderr
@@ -1,4 +1,4 @@
-error[E0061]: this function takes 1 argument but 2 arguments were supplied
+error[E0061]: this method takes 1 argument but 2 arguments were supplied
--> $DIR/wrong_argument_ice-3.rs:9:16
|
LL | groups.push(new_group, vec![process]);
@@ -13,9 +13,6 @@ LL | groups.push(new_group, vec![process]);
found struct `Vec<String>`
note: associated function defined here
--> $SRC_DIR/alloc/src/vec/mod.rs:LL:COL
- |
-LL | pub fn push(&mut self, value: T) {
- | ^^^^
help: remove the extra argument
|
LL | groups.push(/* (Vec<String>, Vec<Process>) */);