+warning: use of deprecated attribute `plugin`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
+ --> $DIR/plugin-attr-register-deny.rs:5:1
+ |
+LL | #![plugin(attr_plugin_test)]
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
+ |
+ = note: `#[warn(deprecated)]` on by default
+
error: unused attribute
- --> $DIR/plugin-attr-register-deny.rs:14:5
+ --> $DIR/plugin-attr-register-deny.rs:15:5
|
LL | #[bar]
| ^^^^^^
|
note: lint level defined here
- --> $DIR/plugin-attr-register-deny.rs:6:9
+ --> $DIR/plugin-attr-register-deny.rs:7:9
|
LL | #![deny(unused_attributes)]
| ^^^^^^^^^^^^^^^^^
error: crate-level attribute should be an inner attribute: add an exclamation mark: `#![foo]`
- --> $DIR/plugin-attr-register-deny.rs:14:5
+ --> $DIR/plugin-attr-register-deny.rs:15:5
|
LL | #[bar]
| ^^^^^^
error: unused attribute
- --> $DIR/plugin-attr-register-deny.rs:11:1
+ --> $DIR/plugin-attr-register-deny.rs:12:1
|
LL | #[foo]
| ^^^^^^