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:44:48 +0000
committerEsteban Küber <esteban@kuber.com.ar>2023-02-14 20:22:10 +0000
commitbd176ee591cd391835bfbcb3409a743bac2128ca (patch)
tree43ff75755e5c815c5085ed330a14c1e18b6fc297 /tests/ui/tuple
parent5d63e10318ea76efc4d4d6a33cf1f74c9839adfb (diff)
downloadrust-bd176ee591cd391835bfbcb3409a743bac2128ca.tar.gz
rust-bd176ee591cd391835bfbcb3409a743bac2128ca.zip
Make removal suggestion not verbose
Diffstat (limited to 'tests/ui/tuple')
-rw-r--r--tests/ui/tuple/wrong_argument_ice-4.stderr10
1 files changed, 4 insertions, 6 deletions
diff --git a/tests/ui/tuple/wrong_argument_ice-4.stderr b/tests/ui/tuple/wrong_argument_ice-4.stderr
index f2e3b416545..d8569ebf6b6 100644
--- a/tests/ui/tuple/wrong_argument_ice-4.stderr
+++ b/tests/ui/tuple/wrong_argument_ice-4.stderr
@@ -6,18 +6,16 @@ LL |       (|| {})(|| {
 LL | |
 LL | |         let b = 1;
 LL | |     });
-   | |_____- unexpected argument of type `[closure@$DIR/wrong_argument_ice-4.rs:2:13: 2:15]`
+   | |     -
+   | |     |
+   | |_____unexpected argument of type `[closure@$DIR/wrong_argument_ice-4.rs:2:13: 2:15]`
+   |       help: remove the extra argument
    |
 note: closure defined here
   --> $DIR/wrong_argument_ice-4.rs:2:6
    |
 LL |     (|| {})(|| {
    |      ^^
-help: remove the extra argument
-   |
-LL -     (|| {})(|| {
-LL +     (|| {})();
-   |
 
 error: aborting due to previous error