]> git.lizzy.rs Git - rust.git/blob - tests/ui/proc-macro/issue-75930-derive-cfg.stderr
Rollup merge of #107576 - P1n3appl3:master, r=tmandry
[rust.git] / tests / ui / proc-macro / issue-75930-derive-cfg.stderr
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    = 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
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
27