2019-10-03 06:46:17 +02:00
|
|
|
warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/issues/29597
|
|
|
|
--> $DIR/invalid-plugin-attr.rs:4:1
|
2019-09-22 01:32:51 +02:00
|
|
|
|
|
|
|
|
LL | #[plugin(bla)]
|
|
|
|
| ^^^^^^^^^^^^^^ help: remove this attribute
|
|
|
|
|
|
|
|
|
= note: `#[warn(deprecated)]` on by default
|
|
|
|
|
2018-08-08 14:28:26 +02:00
|
|
|
error: unused attribute
|
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
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
|
note: lint level 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)]
|
|
|
|
| ^^^^^^^^^^^^^^^^^
|
|
|
|
|
2019-07-19 00:05:23 +02: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
|
|
|
| ^^^^^^^^^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 2 previous errors
|
|
|
|
|