summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/issues/issue-20711.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issues/issue-20711.stderr')
-rw-r--r--tests/ui/parser/issues/issue-20711.stderr13
1 files changed, 13 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-20711.stderr b/tests/ui/parser/issues/issue-20711.stderr
new file mode 100644
index 000000000..4af4b22be
--- /dev/null
+++ b/tests/ui/parser/issues/issue-20711.stderr
@@ -0,0 +1,13 @@
+error: expected item after attributes
+ --> $DIR/issue-20711.rs:4:5
+ |
+LL | impl Foo {
+ | - while parsing this item list starting here
+LL | #[stable(feature = "rust1", since = "1.0.0")]
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
+LL |
+LL | }
+ | - the item list ends here
+
+error: aborting due to previous error
+