]>
Commit | Line | Data |
---|---|---|
6a06907d XL |
1 | warning: derive helper attribute is used before it is introduced |
2 | --> $DIR/issue-75930-derive-cfg.rs:19:3 | |
3 | | | |
4 | LL | #[print_helper(a)] | |
5 | | ^^^^^^^^^^^^ | |
6 | ... | |
7 | LL | #[derive(Print)] | |
8 | | ----- the attribute is introduced here | |
9 | | | |
6a06907d XL |
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> | |
2b03887a | 12 | = note: `#[warn(legacy_derive_helpers)]` on by default |
6a06907d | 13 | |
5099ac24 FG |
14 | warning: derive helper attribute is used before it is introduced |
15 | --> $DIR/issue-75930-derive-cfg.rs:19:3 | |
16 | | | |
17 | LL | #[print_helper(a)] | |
18 | | ^^^^^^^^^^^^ | |
19 | ... | |
20 | LL | #[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 | ||
26 | warning: 2 warnings emitted | |
6a06907d | 27 |