about summary refs log tree commit diff
path: root/tests/ui/tuple
diff options
context:
space:
mode:
authorEsteban Küber <esteban@kuber.com.ar>2023-02-01 17:38:56 +0000
committerEsteban Küber <esteban@kuber.com.ar>2023-02-14 20:22:10 +0000
commit5d63e10318ea76efc4d4d6a33cf1f74c9839adfb (patch)
tree7bac8c472be48675a1b63380f9cb31c43c246c24 /tests/ui/tuple
parent287cd5974c3fc7c885500036ffc8305ac978bede (diff)
downloadrust-5d63e10318ea76efc4d4d6a33cf1f74c9839adfb.tar.gz
rust-5d63e10318ea76efc4d4d6a33cf1f74c9839adfb.zip
rebase and review comments
Diffstat (limited to 'tests/ui/tuple')
-rw-r--r--tests/ui/tuple/wrong_argument_ice-3.stderr2
-rw-r--r--tests/ui/tuple/wrong_argument_ice-4.stderr2
2 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/tuple/wrong_argument_ice-3.stderr b/tests/ui/tuple/wrong_argument_ice-3.stderr
index d8ab265cfc9..7143c959478 100644
--- a/tests/ui/tuple/wrong_argument_ice-3.stderr
+++ b/tests/ui/tuple/wrong_argument_ice-3.stderr
@@ -2,7 +2,7 @@ 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]);
-   |                ^^^^            ------------- argument of type `Vec<&Process>` unexpected
+   |                ^^^^            ------------- unexpected argument of type `Vec<&Process>`
    |
 note: expected `(Vec<String>, Vec<Process>)`, found `Vec<String>`
   --> $DIR/wrong_argument_ice-3.rs:9:21
diff --git a/tests/ui/tuple/wrong_argument_ice-4.stderr b/tests/ui/tuple/wrong_argument_ice-4.stderr
index 1ff4c3d49ed..f2e3b416545 100644
--- a/tests/ui/tuple/wrong_argument_ice-4.stderr
+++ b/tests/ui/tuple/wrong_argument_ice-4.stderr
@@ -6,7 +6,7 @@ LL |       (|| {})(|| {
 LL | |
 LL | |         let b = 1;
 LL | |     });
-   | |_____- argument of type `[closure@$DIR/wrong_argument_ice-4.rs:2:13: 2:15]` unexpected
+   | |_____- unexpected argument of type `[closure@$DIR/wrong_argument_ice-4.rs:2:13: 2:15]`
    |
 note: closure defined here
   --> $DIR/wrong_argument_ice-4.rs:2:6