rust/src/test/ui/parser/doc-comment-in-if-statement.rs
2020-03-10 08:55:18 +01:00

5 lines
128 B
Rust

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