about summary refs log tree commit diff
path: root/tests/ui/tuple
diff options
context:
space:
mode:
authorlong-long-float <niinikazuki@yahoo.co.jp>2024-05-12 16:40:59 +0900
committerlong-long-float <niinikazuki@yahoo.co.jp>2024-07-14 13:50:09 +0900
commit332b41dbce936647232311a51b0febcd3615d731 (patch)
treec19aea8c54ddcc493e6adc9db9d6888bd7c1e618 /tests/ui/tuple
parent336e89bd1518f2cd81574384037b3cffe03c63a8 (diff)
downloadrust-332b41dbce936647232311a51b0febcd3615d731.tar.gz
rust-332b41dbce936647232311a51b0febcd3615d731.zip
Use ordinal number in argument error
Fix error message

Fix tests

Format
Diffstat (limited to 'tests/ui/tuple')
-rw-r--r--tests/ui/tuple/wrong_argument_ice-3.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/tuple/wrong_argument_ice-3.stderr b/tests/ui/tuple/wrong_argument_ice-3.stderr
index ce21751f39d..78212ed1e76 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]);
-   |                ^^^^            ------------- unexpected argument of type `Vec<&Process>`
+   |                ^^^^            ------------- unexpected argument #2 of type `Vec<&Process>`
    |
 note: expected `(Vec<String>, Vec<Process>)`, found `Vec<String>`
   --> $DIR/wrong_argument_ice-3.rs:9:21