| error[E0453]: allow(test_lint) overruled by outer forbid(test_lint) |
| --> $DIR/lint-plugin-forbid-attrs.rs:10:9 |
| | |
| LL | #![forbid(test_lint)] |
| | --------- `forbid` level set here |
| ... |
| LL | #[allow(test_lint)] |
| | ^^^^^^^^^ overruled by previous forbid |
| |
| error: item is named 'lintme' |
| --> $DIR/lint-plugin-forbid-attrs.rs:8:1 |
| | |
| LL | fn lintme() { } |
| | ^^^^^^^^^^^^^^^ |
| | |
| note: lint level defined here |
| --> $DIR/lint-plugin-forbid-attrs.rs:6:11 |
| | |
| LL | #![forbid(test_lint)] |
| | ^^^^^^^^^ |
| |
| error: aborting due to 2 previous errors |
| |
| For more information about this error, try `rustc --explain E0453`. |