1 error[E0453]: expect(unused_variables) incompatible with previous forbid
2 --> $DIR/expect_with_forbid.rs:6:10
4 LL | #[forbid(unused_variables)]
5 | ---------------- `forbid` level set here
7 LL | #[expect(unused_variables)]
8 | ^^^^^^^^^^^^^^^^ overruled by previous forbid
10 error[E0453]: expect(while_true) incompatible with previous forbid
11 --> $DIR/expect_with_forbid.rs:17:10
13 LL | #[forbid(while_true)]
14 | ---------- `forbid` level set here
16 LL | #[expect(while_true)]
17 | ^^^^^^^^^^ overruled by previous forbid
19 error[E0453]: expect(unused_variables) incompatible with previous forbid
20 --> $DIR/expect_with_forbid.rs:6:10
22 LL | #[forbid(unused_variables)]
23 | ---------------- `forbid` level set here
25 LL | #[expect(unused_variables)]
26 | ^^^^^^^^^^^^^^^^ overruled by previous forbid
28 error[E0453]: expect(while_true) incompatible with previous forbid
29 --> $DIR/expect_with_forbid.rs:17:10
31 LL | #[forbid(while_true)]
32 | ---------- `forbid` level set here
34 LL | #[expect(while_true)]
35 | ^^^^^^^^^^ overruled by previous forbid
37 error: denote infinite loops with `loop { ... }`
38 --> $DIR/expect_with_forbid.rs:26:5
41 | ^^^^^^^^^^ help: use `loop`
43 note: the lint level is defined here
44 --> $DIR/expect_with_forbid.rs:13:10
46 LL | #[forbid(while_true)]
49 error: aborting due to 5 previous errors
51 For more information about this error, try `rustc --explain E0453`.