| error[E0453]: allow(deprecated) overruled by outer forbid(deprecated) |
| --> $DIR/lint-forbid-attr.rs:3:9 |
| | |
| LL | #![forbid(deprecated)] |
| | ---------- `forbid` level set here |
| LL | |
| LL | #[allow(deprecated)] |
| | ^^^^^^^^^^ overruled by previous forbid |
| |
| error[E0453]: allow(deprecated) overruled by outer forbid(deprecated) |
| --> $DIR/lint-forbid-attr.rs:3:9 |
| | |
| LL | #![forbid(deprecated)] |
| | ---------- `forbid` level set here |
| LL | |
| LL | #[allow(deprecated)] |
| | ^^^^^^^^^^ overruled by previous forbid |
| |
| error[E0453]: allow(deprecated) overruled by outer forbid(deprecated) |
| --> $DIR/lint-forbid-attr.rs:3:9 |
| | |
| LL | #![forbid(deprecated)] |
| | ---------- `forbid` level set here |
| LL | |
| LL | #[allow(deprecated)] |
| | ^^^^^^^^^^ overruled by previous forbid |
| |
| error: aborting due to 3 previous errors |
| |
| For more information about this error, try `rustc --explain E0453`. |