summaryrefslogtreecommitdiffstats
path: root/tests/ui/suggestions/call-boxed.stderr
diff options
context:
space:
mode:
Diffstat (limited to '')
-rw-r--r--tests/ui/suggestions/call-boxed.stderr4
1 files changed, 2 insertions, 2 deletions
diff --git a/tests/ui/suggestions/call-boxed.stderr b/tests/ui/suggestions/call-boxed.stderr
index 9b31ee07c..11823ff09 100644
--- a/tests/ui/suggestions/call-boxed.stderr
+++ b/tests/ui/suggestions/call-boxed.stderr
@@ -6,10 +6,10 @@ LL | let mut x = 1i32;
LL | let y = Box::new(|| 1);
| -- the found closure
LL | x = y;
- | ^ expected `i32`, found `Box<[closure@call-boxed.rs:3:22]>`
+ | ^ expected `i32`, found `Box<{closure@call-boxed.rs:3:22}>`
|
= note: expected type `i32`
- found struct `Box<[closure@$DIR/call-boxed.rs:3:22: 3:24]>`
+ found struct `Box<{closure@$DIR/call-boxed.rs:3:22: 3:24}>`
help: use parentheses to call this closure
|
LL | x = y();