rust/tests/ui/parser/doc-comment-in-if-statement.rs
2023-01-11 09:32:08 +00:00

6 lines
128 B
Rust

fn main() {
if true /*!*/ {}
//~^ ERROR outer attributes are not allowed on
//~| ERROR expected outer doc comment
}