2020-11-07 18:14:38 -05:00
|
|
|
error[E0453]: allow(test_lint) incompatible with previous forbid
|
2019-10-03 09:33:28 +02:00
|
|
|
--> $DIR/lint-plugin-forbid-attrs.rs:11:9
|
2018-07-14 16:40:17 +02:00
|
|
|
|
|
|
|
|
LL | #![forbid(test_lint)]
|
|
|
|
| --------- `forbid` level set here
|
|
|
|
...
|
|
|
|
LL | #[allow(test_lint)]
|
|
|
|
| ^^^^^^^^^ overruled by previous forbid
|
|
|
|
|
2017-12-11 00:00:10 +03:00
|
|
|
error: item is named 'lintme'
|
2019-10-03 09:33:28 +02:00
|
|
|
--> $DIR/lint-plugin-forbid-attrs.rs:9:1
|
2017-12-11 00:00:10 +03:00
|
|
|
|
|
2020-11-07 18:14:38 -05:00
|
|
|
LL | fn lintme() {}
|
|
|
|
| ^^^^^^^^^^^^^^
|
2017-12-11 00:00:10 +03:00
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2019-10-03 09:33:28 +02:00
|
|
|
--> $DIR/lint-plugin-forbid-attrs.rs:7:11
|
2017-12-11 00:00:10 +03:00
|
|
|
|
|
2018-02-23 03:42:32 +03:00
|
|
|
LL | #![forbid(test_lint)]
|
2017-12-11 00:00:10 +03:00
|
|
|
| ^^^^^^^^^
|
|
|
|
|
2020-11-07 18:14:38 -05:00
|
|
|
error[E0453]: allow(test_lint) incompatible with previous forbid
|
2020-01-08 20:02:10 +03:00
|
|
|
--> $DIR/lint-plugin-forbid-attrs.rs:11:9
|
|
|
|
|
|
|
|
|
LL | #![forbid(test_lint)]
|
|
|
|
| --------- `forbid` level set here
|
|
|
|
...
|
|
|
|
LL | #[allow(test_lint)]
|
|
|
|
| ^^^^^^^^^ overruled by previous forbid
|
|
|
|
|
2022-12-01 13:22:08 +11:00
|
|
|
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
|
|
|
|
--> $DIR/lint-plugin-forbid-attrs.rs:5:1
|
|
|
|
|
|
|
|
|
LL | #![plugin(lint_plugin_test)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
|
|
|
|
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
|
|
|
|
|
|
|
error: aborting due to 3 previous errors; 1 warning emitted
|
2017-12-11 00:00:10 +03:00
|
|
|
|
2018-03-03 15:59:40 +01:00
|
|
|
For more information about this error, try `rustc --explain E0453`.
|