1 error: expected outer doc comment
2 --> $DIR/doc-comment-in-if-statement.rs:2:13
7 = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items
9 error: outer attributes are not allowed on `if` and `else` branches
10 --> $DIR/doc-comment-in-if-statement.rs:2:13
13 | -- ^^^^^ -- the attributes are attached to this branch
15 | | help: remove the attributes
16 | the branch belongs to this `if`
18 error: aborting due to 2 previous errors