about summary refs log tree commit diff
path: root/src/test/ui/parser/doc-comment-in-stmt.rs
diff options
context:
space:
mode:
Diffstat (limited to 'src/test/ui/parser/doc-comment-in-stmt.rs')
-rw-r--r--src/test/ui/parser/doc-comment-in-stmt.rs20
1 files changed, 0 insertions, 20 deletions
diff --git a/src/test/ui/parser/doc-comment-in-stmt.rs b/src/test/ui/parser/doc-comment-in-stmt.rs
deleted file mode 100644
index b02df13213f..00000000000
--- a/src/test/ui/parser/doc-comment-in-stmt.rs
+++ /dev/null
@@ -1,20 +0,0 @@
-fn foo() -> bool {
-    false
-    //!self.allow_ty_infer()
-    //~^ ERROR found doc comment
-}
-
-fn bar() -> bool {
-    false
-    /*! bar */ //~ ERROR found doc comment
-}
-
-fn baz() -> i32 {
-    1 /** baz */ //~ ERROR found doc comment
-}
-
-fn quux() -> i32 {
-    2 /*! quux */ //~ ERROR found doc comment
-}
-
-fn main() {}