fork/rust
git clone https://git.julia.blue/fork/rust
b8cedc00407
1.42.0
1error: attributes are not yet allowed on `if` expressions 2 --> $DIR/recovery-attr-on-if.rs:2:5 3 | 4LL | #[attr] if true {}; 5 | ^^^^^^^ 6 7error: attributes are not yet allowed on `if` expressions 8 --> $DIR/recovery-attr-on-if.rs:5:5 9 | 10LL | #[attr] if true {}; 11 | ^^^^^^^ 12 13error: cannot find attribute `attr` in this scope 14 --> $DIR/recovery-attr-on-if.rs:5:7 15 | 16LL | #[attr] if true {}; 17 | ^^^^ 18 19error: cannot find attribute `attr` in this scope 20 --> $DIR/recovery-attr-on-if.rs:2:7 21 | 22LL | #[attr] if true {}; 23 | ^^^^ 24 25error[E0308]: mismatched types 26 --> $DIR/recovery-attr-on-if.rs:8:33 27 | 28LL | let _recovery_witness: () = 0; 29 | -- ^ expected `()`, found integer 30 | | 31 | expected due to this 32 33error: aborting due to 5 previous errors 34 35For more information about this error, try `rustc --explain E0308`.