error[E0453]: allow(deprecated) overruled by outer forbid(deprecated) --> $DIR/lint-forbid-attr.rs:13:9 | LL | #![forbid(deprecated)] | ---------- `forbid` level set here LL | LL | #[allow(deprecated)] | ^^^^^^^^^^ overruled by previous forbid error: aborting due to previous error If you want more information on this error, try using "rustc --explain E0453"