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: aborting due to 2 previous errors
21 For more information about this error, try `rustc --explain E0453`.