]> git.lizzy.rs Git - rust.git/blobdiff - src/test/parse-fail/doc-before-semi.rs
Auto merge of #35856 - phimuemue:master, r=brson
[rust.git] / src / test / parse-fail / doc-before-semi.rs
index 6a8906953be091ade684055cd72cf09527813445..71104b8caae1952f8cebbcdbb8478075efa6d08a 100644 (file)
@@ -12,6 +12,7 @@
 
 fn main() {
     /// hi
+    //~^ ERROR found a documentation comment that doesn't document anything
+    //~| HELP maybe a comment was intended
     ;
-    //~^ ERROR expected statement
 }