about summary refs log tree commit diff
path: root/tests/ui/parser/issues/issue-1655.rs
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ui/parser/issues/issue-1655.rs')
-rw-r--r--tests/ui/parser/issues/issue-1655.rs10
1 files changed, 10 insertions, 0 deletions
diff --git a/tests/ui/parser/issues/issue-1655.rs b/tests/ui/parser/issues/issue-1655.rs
new file mode 100644
index 00000000000..e9fc6f15346
--- /dev/null
+++ b/tests/ui/parser/issues/issue-1655.rs
@@ -0,0 +1,10 @@
+mod blade_runner {
+    #vec[doc( //~ ERROR expected one of `!` or `[`, found `vec`
+        brief = "Blade Runner is probably the best movie ever",
+        desc = "I like that in the world of Blade Runner it is always
+                raining, and that it's always night time. And Aliens
+                was also a really good movie.
+
+                Alien 3 was crap though."
+    )]
+}