fork/rust
git clone https://git.julia.blue/fork/rust
49cae55760d
1.44.0
1error: expected outer doc comment 2 --> $DIR/doc-comment-in-if-statement.rs:2:13 3 | 4LL | if true /*!*/ {} 5 | ^^^^^ 6 | 7 = note: inner doc comments like this (starting with `//!` or `/*!`) can only appear before items 8 9error: outer attributes are not allowed on `if` and `else` branches 10 --> $DIR/doc-comment-in-if-statement.rs:2:13 11 | 12LL | if true /*!*/ {} 13 | -- ^^^^^ -- the attributes are attached to this branch 14 | | | 15 | | help: remove the attributes 16 | the branch belongs to this `if` 17 18error: aborting due to 2 previous errors 19