1 error[E0453]: allow(deprecated) incompatible with previous forbid
2 --> $DIR/lint-forbid-attr.rs:3:9
4 LL | #![forbid(deprecated)]
5 | ---------- `forbid` level set here
7 LL | #[allow(deprecated)]
8 | ^^^^^^^^^^ overruled by previous forbid
10 error[E0453]: allow(deprecated) incompatible with previous forbid
11 --> $DIR/lint-forbid-attr.rs:3:9
13 LL | #![forbid(deprecated)]
14 | ---------- `forbid` level set here
16 LL | #[allow(deprecated)]
17 | ^^^^^^^^^^ overruled by previous forbid
19 error[E0453]: allow(deprecated) incompatible with previous forbid
20 --> $DIR/lint-forbid-attr.rs:3:9
22 LL | #![forbid(deprecated)]
23 | ---------- `forbid` level set here
25 LL | #[allow(deprecated)]
26 | ^^^^^^^^^^ overruled by previous forbid
28 error: aborting due to 3 previous errors
30 For more information about this error, try `rustc --explain E0453`.