rust/tests/ui/invalid/invalid-plugin-attr.stderr

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

23 lines
700 B
Plaintext
Raw Normal View History

warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
--> $DIR/invalid-plugin-attr.rs:4:1
|
LL | #[plugin(bla)]
| ^^^^^^^^^^^^^^ help: may be removed in a future compiler version
|
= note: `#[warn(deprecated)]` on by default
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
| ^^^^^^^^^^^^^^
|
2020-01-22 23:57:38 +00:00
note: the lint level is defined here
--> $DIR/invalid-plugin-attr.rs:1:9
2018-08-08 14:28:26 +02:00
|
LL | #![deny(unused_attributes)]
| ^^^^^^^^^^^^^^^^^
error: aborting due to previous error; 1 warning emitted
2018-08-08 14:28:26 +02:00