fork/rust

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

borsAuto merge of #72883 - Mark-Simulacrum:stable-next, r=Mark-Simulacrum49cae55760d

1.44.0
970 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; 2 warnings emitted
29