fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0453]: allow(test_lint) overruled by outer forbid(test_lint) 2 --> $DIR/lint-plugin-forbid-attrs.rs:10:9 3 | 4LL | #![forbid(test_lint)] 5 | --------- `forbid` level set here 6... 7LL | #[allow(test_lint)] 8 | ^^^^^^^^^ overruled by previous forbid 9 10error: item is named 'lintme' 11 --> $DIR/lint-plugin-forbid-attrs.rs:8:1 12 | 13LL | fn lintme() { } 14 | ^^^^^^^^^^^^^^^ 15 | 16note: lint level defined here 17 --> $DIR/lint-plugin-forbid-attrs.rs:6:11 18 | 19LL | #![forbid(test_lint)] 20 | ^^^^^^^^^ 21 22error: aborting due to 2 previous errors 23 24For more information about this error, try `rustc --explain E0453`.