summaryrefslogtreecommitdiffstats
path: root/src/test/ui/parser/empty-impl-semicolon.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/empty-impl-semicolon.stderr')
-rw-r--r--src/test/ui/parser/empty-impl-semicolon.stderr8
1 files changed, 5 insertions, 3 deletions
diff --git a/src/test/ui/parser/empty-impl-semicolon.stderr b/src/test/ui/parser/empty-impl-semicolon.stderr
index 398eb5c89..6ed309eba 100644
--- a/src/test/ui/parser/empty-impl-semicolon.stderr
+++ b/src/test/ui/parser/empty-impl-semicolon.stderr
@@ -1,8 +1,10 @@
-error: expected one of `!`, `(`, `+`, `::`, `<`, `for`, `where`, or `{`, found `;`
- --> $DIR/empty-impl-semicolon.rs:1:9
+error: expected `{}`, found `;`
+ --> $DIR/empty-impl-semicolon.rs:2:9
|
LL | impl Foo;
- | ^ expected one of 8 possible tokens
+ | ^
+ |
+ = help: try using `{}` instead
error: aborting due to previous error