summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/bad-struct-following-where.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/bad-struct-following-where.stderr')
-rw-r--r--tests/ui/parser/bad-struct-following-where.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/bad-struct-following-where.stderr b/tests/ui/parser/bad-struct-following-where.stderr
new file mode 100644
index 000000000..bb79776dc
--- /dev/null
+++ b/tests/ui/parser/bad-struct-following-where.stderr
@@ -0,0 +1,8 @@
+error: expected `{` after struct name, found `!`
+ --> $DIR/bad-struct-following-where.rs:1:25
+ |
+LL | struct A where T: Sized !
+ | ^ expected `{` after struct name
+
+error: aborting due to previous error
+