]> git.lizzy.rs Git - rust.git/blob - src/test/ui/parser/doc-comment-in-if-statement.rs
Rollup merge of #69888 - wesleywiser:miri_exception_env_var_to_session_var, r=RalfJung
[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 }