fork/rust

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

borsAuto merge of #103046 - JanBeh:PR_clarify_cmp_terminology, r=workingjubilee3bcad65fbf6

master
1.0 KiB27 linesraw
1warning: derive helper attribute is used before it is introduced
2  --> $DIR/issue-75930-derive-cfg.rs:19:3
3   |
4LL | #[print_helper(a)]
5   |   ^^^^^^^^^^^^
6...
7LL | #[derive(Print)]
8   |          ----- the attribute is introduced here
9   |
10   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
11   = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
12   = note: `#[warn(legacy_derive_helpers)]` on by default
13
14warning: derive helper attribute is used before it is introduced
15  --> $DIR/issue-75930-derive-cfg.rs:19:3
16   |
17LL | #[print_helper(a)]
18   |   ^^^^^^^^^^^^
19...
20LL | #[derive(Print)]
21   |          ----- the attribute is introduced here
22   |
23   = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
24   = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
25
26warning: 2 warnings emitted
27