summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/attr-dangling-in-mod.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/attr-dangling-in-mod.stderr')
-rw-r--r--tests/ui/parser/attr-dangling-in-mod.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/attr-dangling-in-mod.stderr b/tests/ui/parser/attr-dangling-in-mod.stderr
new file mode 100644
index 000000000..1c892eac0
--- /dev/null
+++ b/tests/ui/parser/attr-dangling-in-mod.stderr
@@ -0,0 +1,8 @@
+error: expected item after attributes
+ --> $DIR/attr-dangling-in-mod.rs:6:1
+ |
+LL | #[foo = "bar"]
+ | ^^^^^^^^^^^^^^
+
+error: aborting due to previous error
+