summaryrefslogtreecommitdiffstats
path: root/tests/ui/tuple/wrong_argument_ice-4.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/tuple/wrong_argument_ice-4.stderr')
-rw-r--r--tests/ui/tuple/wrong_argument_ice-4.stderr9
1 files changed, 4 insertions, 5 deletions
diff --git a/tests/ui/tuple/wrong_argument_ice-4.stderr b/tests/ui/tuple/wrong_argument_ice-4.stderr
index a2686ab94..d8569ebf6 100644
--- a/tests/ui/tuple/wrong_argument_ice-4.stderr
+++ b/tests/ui/tuple/wrong_argument_ice-4.stderr
@@ -6,17 +6,16 @@ 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]`
+ | help: remove the extra argument
|
note: closure defined here
--> $DIR/wrong_argument_ice-4.rs:2:6
|
LL | (|| {})(|| {
| ^^
-help: remove the extra argument
- |
-LL | (|| {})();
- | ~~
error: aborting due to previous error