Files
rust/src/test/ui/parser/doc-comment-in-if-statement.rs

6 lines
132 B
Rust
Raw Normal View History

fn main() {
if true /*!*/ {}
//~^ ERROR expected `{`, found doc comment `/*!*/`
//~| ERROR expected outer doc comment
}