Closed
Description
The following code (playground link):
fn main() {
if true /*!*/ {}
}
Generates this error:
Compiling playground v0.0.1 (/playground)
error: expected `{`, found `/*!*/`
--> src/main.rs:2:13
|
2 | if true /*!*/ {}
| -- ^^^^^
| |
| this `if` statement has a condition, but no block
Deleting the exclamation mark or replacing it with another symbol seems to make the error go away.