diff options
Diffstat (limited to 'src/test/ui/parser/doc-comment-in-if-statement.rs')
| -rw-r--r-- | src/test/ui/parser/doc-comment-in-if-statement.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/ui/parser/doc-comment-in-if-statement.rs b/src/test/ui/parser/doc-comment-in-if-statement.rs index c85fe25a7d0..343eac1b81f 100644 --- a/src/test/ui/parser/doc-comment-in-if-statement.rs +++ b/src/test/ui/parser/doc-comment-in-if-statement.rs @@ -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 } |
