rust/src/test/ui/invalid/invalid-plugin-attr.stderr

29 lines
765 B
Plaintext
Raw Normal View History

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
|
LL | #[plugin(bla)]
| ^^^^^^^^^^^^^^ help: remove this attribute
|
= note: `#[warn(deprecated)]` on by default
2018-08-08 14:28:26 +02:00
error: unused attribute
--> $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
--> $DIR/invalid-plugin-attr.rs:1:9
2018-08-08 14:28:26 +02:00
|
LL | #![deny(unused_attributes)]
| ^^^^^^^^^^^^^^^^^
error: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
--> $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