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
950 B29 linesraw
1warning: use of deprecated attribute `plugin_registrar`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
2  --> $DIR/multiple-plugin-registrars.rs:6:1
3   |
4LL | #[plugin_registrar]
5   | ^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
6   |
7   = note: `#[warn(deprecated)]` on by default
8
9warning: use of deprecated attribute `plugin_registrar`: compiler plugins are deprecated. See https://github.com/rust-lang/rust/pull/64675
10  --> $DIR/multiple-plugin-registrars.rs:9:1
11   |
12LL | #[plugin_registrar]
13   | ^^^^^^^^^^^^^^^^^^^ help: may be removed in a future compiler version
14
15error: multiple plugin registration functions found
16   |
17note: one is here
18  --> $DIR/multiple-plugin-registrars.rs:7:1
19   |
20LL | pub fn one() {}
21   | ^^^^^^^^^^^^^^^
22note: one is here
23  --> $DIR/multiple-plugin-registrars.rs:10:1
24   |
25LL | pub fn two() {}
26   | ^^^^^^^^^^^^^^^
27
28error: aborting due to previous error
29