rust/src/test/ui/parser/doc-comment-in-if-statement.stderr
2019-12-23 13:42:25 +01:00

11 lines
272 B
Plaintext

error: expected `{`, found doc comment `/*!*/`
--> $DIR/doc-comment-in-if-statement.rs:2:13
|
LL | if true /*!*/ {}
| -- ^^^^^ expected `{`
| |
| this `if` expression has a condition, but no block
error: aborting due to previous error