summaryrefslogtreecommitdiffstats
path: root/tests/ui/closures/issue-90871.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/closures/issue-90871.stderr')
-rw-r--r--tests/ui/closures/issue-90871.stderr2
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/closures/issue-90871.stderr b/tests/ui/closures/issue-90871.stderr
index 4a578b4d7..ef1cb213f 100644
--- a/tests/ui/closures/issue-90871.stderr
+++ b/tests/ui/closures/issue-90871.stderr
@@ -14,7 +14,7 @@ LL | type_ascribe!(2, n([u8; || 1]))
| ^^^^ expected `usize`, found closure
|
= note: expected type `usize`
- found closure `[closure@$DIR/issue-90871.rs:4:29: 4:31]`
+ found closure `{closure@$DIR/issue-90871.rs:4:29: 4:31}`
help: use parentheses to call this closure
|
LL | type_ascribe!(2, n([u8; (|| 1)()]))