fork/rust
git clone https://git.julia.blue/fork/rust
3bcad65fbf6
master
1error[E0453]: expect(unused_variables) incompatible with previous forbid 2 --> $DIR/expect_with_forbid.rs:6:10 3 | 4LL | #[forbid(unused_variables)] 5 | ---------------- `forbid` level set here 6... 7LL | #[expect(unused_variables)] 8 | ^^^^^^^^^^^^^^^^ overruled by previous forbid 9 10error[E0453]: expect(while_true) incompatible with previous forbid 11 --> $DIR/expect_with_forbid.rs:17:10 12 | 13LL | #[forbid(while_true)] 14 | ---------- `forbid` level set here 15... 16LL | #[expect(while_true)] 17 | ^^^^^^^^^^ overruled by previous forbid 18 19error[E0453]: expect(unused_variables) incompatible with previous forbid 20 --> $DIR/expect_with_forbid.rs:6:10 21 | 22LL | #[forbid(unused_variables)] 23 | ---------------- `forbid` level set here 24... 25LL | #[expect(unused_variables)] 26 | ^^^^^^^^^^^^^^^^ overruled by previous forbid 27 28error[E0453]: expect(while_true) incompatible with previous forbid 29 --> $DIR/expect_with_forbid.rs:17:10 30 | 31LL | #[forbid(while_true)] 32 | ---------- `forbid` level set here 33... 34LL | #[expect(while_true)] 35 | ^^^^^^^^^^ overruled by previous forbid 36 37error: denote infinite loops with `loop { ... }` 38 --> $DIR/expect_with_forbid.rs:26:5 39 | 40LL | while true {} 41 | ^^^^^^^^^^ help: use `loop` 42 | 43note: the lint level is defined here 44 --> $DIR/expect_with_forbid.rs:13:10 45 | 46LL | #[forbid(while_true)] 47 | ^^^^^^^^^^ 48 49error: aborting due to 5 previous errors 50 51For more information about this error, try `rustc --explain E0453`.