summaryrefslogtreecommitdiffstats
path: root/tests/ui/parser/shebang/shebang-doc-comment.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/shebang/shebang-doc-comment.stderr')
-rw-r--r--tests/ui/parser/shebang/shebang-doc-comment.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/shebang/shebang-doc-comment.stderr b/tests/ui/parser/shebang/shebang-doc-comment.stderr
new file mode 100644
index 000000000..2227d45ec
--- /dev/null
+++ b/tests/ui/parser/shebang/shebang-doc-comment.stderr
@@ -0,0 +1,8 @@
+error: expected item, found `[`
+ --> $DIR/shebang-doc-comment.rs:2:1
+ |
+LL | [allow(unused_variables)]
+ | ^ expected item
+
+error: aborting due to previous error
+