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 10:16:29 -06:00
//~^ ERROR outer attributes are not allowed on
//~| ERROR expected outer doc comment
}