diff options
Diffstat (limited to '')
-rw-r--r-- | tests/ui/span/move-closure.stderr | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/tests/ui/span/move-closure.stderr b/tests/ui/span/move-closure.stderr index dcc607896..2127b8202 100644 --- a/tests/ui/span/move-closure.stderr +++ b/tests/ui/span/move-closure.stderr @@ -7,7 +7,7 @@ LL | let x: () = move || (); | expected due to this | = note: expected unit type `()` - found closure `[closure@$DIR/move-closure.rs:5:17: 5:24]` + found closure `{closure@$DIR/move-closure.rs:5:17: 5:24}` help: use parentheses to call this closure | LL | let x: () = (move || ())(); |