]> git.lizzy.rs Git - rust.git/blobdiff - src/test/ui/parser/doc-comment-in-if-statement.rs
Rollup merge of #70038 - DutchGhost:const-forget-tests, r=RalfJung
[rust.git] / src / test / ui / parser / doc-comment-in-if-statement.rs
index c85fe25a7d0d1999e30328bfff25cb21d0221593..343eac1b81ff0dc958a0e183ec9bdb11f2458ed6 100644 (file)
@@ -1,4 +1,5 @@
 fn main() {
     if true /*!*/ {}
-    //~^ ERROR expected `{`, found doc comment `/*!*/`
+    //~^ ERROR outer attributes are not allowed on
+    //~| ERROR expected outer doc comment
 }