fork/rust
git clone https://git.julia.blue/fork/rust
4fb7144ed15
1.43.0
1error[E0453]: allow(test_lint) overruled by outer forbid(test_lint) 2 --> $DIR/lint-plugin-forbid-attrs.rs:11:9 3 | 4LL | #![forbid(test_lint)] 5 | --------- `forbid` level set here 6... 7LL | #[allow(test_lint)] 8 | ^^^^^^^^^ overruled by previous forbid 9 10error[E0453]: allow(test_lint) overruled by outer forbid(test_lint) 11 --> $DIR/lint-plugin-forbid-attrs.rs:11:9 12 | 13LL | #![forbid(test_lint)] 14 | --------- `forbid` level set here 15... 16LL | #[allow(test_lint)] 17 | ^^^^^^^^^ overruled by previous forbid 18 19warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675 20 --> $DIR/lint-plugin-forbid-attrs.rs:5:1 21 | 22LL | #![plugin(lint_plugin_test)] 23 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version 24 | 25 = note: `#[warn(deprecated)]` on by default 26 27error: item is named 'lintme' 28 --> $DIR/lint-plugin-forbid-attrs.rs:9:1 29 | 30LL | fn lintme() { } 31 | ^^^^^^^^^^^^^^^ 32 | 33note: the lint level is defined here 34 --> $DIR/lint-plugin-forbid-attrs.rs:7:11 35 | 36LL | #![forbid(test_lint)] 37 | ^^^^^^^^^ 38 39error[E0453]: allow(test_lint) overruled by outer forbid(test_lint) 40 --> $DIR/lint-plugin-forbid-attrs.rs:11:9 41 | 42LL | #![forbid(test_lint)] 43 | --------- `forbid` level set here 44... 45LL | #[allow(test_lint)] 46 | ^^^^^^^^^ overruled by previous forbid 47 48error: aborting due to 4 previous errors 49 50For more information about this error, try `rustc --explain E0453`.