mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-21 04:54:26 +00:00
11 lines
272 B
Plaintext
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
|
|
|