rust/tests/ui-fulldeps/lint-plugin-forbid-attrs.stderr

42 lines
1.3 KiB
Plaintext
Raw Normal View History

error[E0453]: allow(test_lint) incompatible with previous forbid
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
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
|
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
| ^^^^^^^^^
error[E0453]: allow(test_lint) incompatible with previous forbid
2020-01-08 11:02:10 -06: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
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-10 15:00:10 -06:00
2018-03-03 08:59:40 -06:00
For more information about this error, try `rustc --explain E0453`.