1 error[E0658]: compiler plugins are experimental and possibly buggy
2 --> $DIR/feature-gate-plugin_registrar.rs:8:1
4 LL | pub fn registrar() {}
5 | ^^^^^^^^^^^^^^^^^^^^^
7 = note: see issue #29597 <https://github.com/rust-lang/rust/issues/29597> for more information
8 = help: add `#![feature(plugin_registrar)]` to the crate attributes to enable
10 error[E0658]: compiler plugins are deprecated
11 --> $DIR/feature-gate-plugin_registrar.rs:5:1
13 LL | #[plugin_registrar]
16 = note: see issue #29597 <https://github.com/rust-lang/rust/issues/29597> for more information
17 = help: add `#![feature(plugin_registrar)]` to the crate attributes to enable
19 warning: use of deprecated attribute `plugin_registrar`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
20 --> $DIR/feature-gate-plugin_registrar.rs:5:1
22 LL | #[plugin_registrar]
23 | ^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
25 = note: `#[warn(deprecated)]` on by default
27 error: aborting due to 2 previous errors; 1 warning emitted
29 For more information about this error, try `rustc --explain E0658`.