]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/doc-comment-in-if-statement.rs
Auto merge of #69519 - 12101111:remove-proc-macro-check, r=nagisa
[rust.git] / src / test / ui / parser / doc-comment-in-if-statement.rs
1 fn main() {
2     if true /*!*/ {}
3     //~^ ERROR outer attributes are not allowed on
4     //~| ERROR expected outer doc comment
5 }