about summary refs log tree commit diff
path: root/tests/ui/parser/doc-before-syntax-error.stderr
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/doc-before-syntax-error.stderr')
-rw-r--r--tests/ui/parser/doc-before-syntax-error.stderr8
1 files changed, 8 insertions, 0 deletions
diff --git a/tests/ui/parser/doc-before-syntax-error.stderr b/tests/ui/parser/doc-before-syntax-error.stderr
new file mode 100644
index 00000000000..93e39d63000
--- /dev/null
+++ b/tests/ui/parser/doc-before-syntax-error.stderr
@@ -0,0 +1,8 @@
+error: expected identifier, found `<`
+  --> $DIR/doc-before-syntax-error.rs:2:1
+   |
+LL | <>
+   | ^ expected identifier
+
+error: aborting due to 1 previous error
+