]> git.lizzy.rs Git - rust.git/blob - src/test/ui/feature-gates/feature-gate-plugin_registrar.stderr
Auto merge of #75936 - sdroege:chunks-exact-construction-bounds-check, r=nagisa
[rust.git] / src / test / ui / feature-gates / feature-gate-plugin_registrar.stderr
1 error[E0658]: compiler plugins are experimental and possibly buggy
2   --> $DIR/feature-gate-plugin_registrar.rs:8:1
3    |
4 LL | pub fn registrar() {}
5    | ^^^^^^^^^^^^^^^^^^^^^
6    |
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
9
10 error[E0658]: compiler plugins are deprecated
11   --> $DIR/feature-gate-plugin_registrar.rs:5:1
12    |
13 LL | #[plugin_registrar]
14    | ^^^^^^^^^^^^^^^^^^^
15    |
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
18
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
21    |
22 LL | #[plugin_registrar]
23    | ^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
24    |
25    = note: `#[warn(deprecated)]` on by default
26
27 error: aborting due to 2 previous errors; 1 warning emitted
28
29 For more information about this error, try `rustc --explain E0658`.