rust/tests/ui/parser/doc-comment-in-if-statement.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

6 lines
128 B
Rust
Raw Normal View History

fn main() {
if true /*!*/ {}
2020-03-07 16:16:29 +00:00
//~^ ERROR outer attributes are not allowed on
//~| ERROR expected outer doc comment
}