1 error: expected expression, found keyword `else`
2 --> $DIR/else-attrs.rs:4:15
4 LL | } #[attr] else if false {
5 | ^^^^ expected expression
7 error: outer attributes are not allowed on `if` and `else` branches
8 --> $DIR/else-attrs.rs:11:12
10 LL | } else #[attr] if false {
11 | _______----_^^^^^^^_-
13 | | | help: remove the attributes
14 | | the branch belongs to this `else`
17 | |_____- the attributes are attached to this branch
19 error: expected expression, found keyword `else`
20 --> $DIR/else-attrs.rs:20:15
23 | ^^^^ expected expression
25 error: aborting due to 3 previous errors