fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69444 - pietroalbini:stable-next-final-v2-new, r=pietroalbinif3e1a954d2e

1.41.1
1.1 KiB29 linesraw
1error[E0658]: compiler plugins are experimental and possibly buggy
2  --> $DIR/feature-gate-plugin_registrar.rs:8:1
3   |
4LL | pub fn registrar() {}
5   | ^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: for more information, see https://github.com/rust-lang/rust/issues/29597
8   = help: add `#![feature(plugin_registrar)]` to the crate attributes to enable
9
10error[E0658]: compiler plugins are deprecated
11  --> $DIR/feature-gate-plugin_registrar.rs:5:1
12   |
13LL | #[plugin_registrar]
14   | ^^^^^^^^^^^^^^^^^^^
15   |
16   = note: for more information, see https://github.com/rust-lang/rust/issues/29597
17   = help: add `#![feature(plugin_registrar)]` to the crate attributes to enable
18
19warning: 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   |
22LL | #[plugin_registrar]
23   | ^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
24   |
25   = note: `#[warn(deprecated)]` on by default
26
27error: aborting due to 2 previous errors
28
29For more information about this error, try `rustc --explain E0658`.