fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error: expected expression, found keyword `else` 2 --> $DIR/else-attrs.rs:4:15 3 | 4LL | } #[attr] else if false { 5 | ^^^^ expected expression 6 7error: expected `{`, found `#` 8 --> $DIR/else-attrs.rs:11:12 9 | 10LL | } else #[attr] if false { 11 | ^ expected `{` 12 | 13help: try placing this code inside a block 14 | 15LL | } else #[attr] { if false { 16LL | } else { 17LL | } } 18 | 19 20error: expected expression, found keyword `else` 21 --> $DIR/else-attrs.rs:20:15 22 | 23LL | } #[attr] else { 24 | ^^^^ expected expression 25 26error: aborting due to 3 previous errors 27