1 error[E0453]: allow(deprecated) overruled by outer forbid(deprecated)
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: aborting due to previous error
12 For more information about this error, try `rustc --explain E0453`.