2019-10-17 13:51:46 +02:00
|
|
|
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
|
2019-10-03 06:46:17 +02:00
|
|
|
--> $DIR/invalid-plugin-attr.rs:4:1
|
2019-09-22 01:32:51 +02:00
|
|
|
|
|
|
|
|
LL | #[plugin(bla)]
|
2019-10-17 13:51:46 +02:00
|
|
|
| ^^^^^^^^^^^^^^ help: may be removed in a future compiler version
|
2019-09-22 01:32:51 +02:00
|
|
|
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
|
|
|
|
2021-07-29 12:00:41 -05:00
|
|
|
error: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
|
2019-10-03 06:46:17 +02:00
|
|
|
--> $DIR/invalid-plugin-attr.rs:4:1
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
2019-03-09 15:03:44 +03:00
|
|
|
LL | #[plugin(bla)]
|
2018-08-08 14:28:26 +02:00
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
2020-01-22 23:57:38 +00:00
|
|
|
note: the lint level is defined here
|
2019-10-03 06:46:17 +02:00
|
|
|
--> $DIR/invalid-plugin-attr.rs:1:9
|
2018-08-08 14:28:26 +02:00
|
|
|
|
|
|
|
|
LL | #![deny(unused_attributes)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
2021-07-29 12:00:41 -05:00
|
|
|
error: aborting due to previous error; 1 warning emitted
|
2018-08-08 14:28:26 +02:00
|
|
|
|