fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #67350 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum73528e339aa

1.40.0
271 B10 linesraw
1error: expected `{`, found doc comment `/*!*/`
2  --> $DIR/doc-comment-in-if-statement.rs:2:13
3   |
4LL |     if true /*!*/ {}
5   |     --      ^^^^^ expected `{`
6   |     |
7   |     this `if` statement has a condition, but no block
8
9error: aborting due to previous error
10