1 error[E0753]: 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
8 help: you might have meant to write a regular comment
14 error: outer attributes are not allowed on `if` and `else` branches
15 --> $DIR/doc-comment-in-if-statement.rs:2:13
18 | -- ^^^^^ -- the attributes are attached to this branch
20 | | help: remove the attributes
21 | the branch belongs to this `if`
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0753`.