]>
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 | | | |
10 | = note: `#[warn(legacy_derive_helpers)]` on by default | |
11 | = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release! | |
12 | = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202> | |
13 | ||
14 | warning: 1 warning emitted | |
15 |