rust/src/test/ui-fulldeps/lint-plugin-forbid-attrs.stderr

51 lines
1.5 KiB
Plaintext
Raw Normal View History

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