1 error: cannot find attribute `C` in this scope
2 --> $DIR/proc-macro-attributes.rs:9:3
5 | ^ help: a derive helper attribute with a similar name exists: `B`
7 error[E0659]: `B` is ambiguous (derive helper attribute vs any other name)
8 --> $DIR/proc-macro-attributes.rs:6:3
13 note: `B` could refer to the derive helper attribute defined here
14 --> $DIR/proc-macro-attributes.rs:19:10
18 note: `B` could also refer to the derive macro imported here
19 --> $DIR/proc-macro-attributes.rs:3:1
24 error[E0659]: `B` is ambiguous (derive helper attribute vs any other name)
25 --> $DIR/proc-macro-attributes.rs:10:3
30 note: `B` could refer to the derive helper attribute defined here
31 --> $DIR/proc-macro-attributes.rs:19:10
35 note: `B` could also refer to the derive macro imported here
36 --> $DIR/proc-macro-attributes.rs:3:1
41 error[E0659]: `B` is ambiguous (derive helper attribute vs any other name)
42 --> $DIR/proc-macro-attributes.rs:13:3
47 note: `B` could refer to the derive helper attribute defined here
48 --> $DIR/proc-macro-attributes.rs:19:10
52 note: `B` could also refer to the derive macro imported here
53 --> $DIR/proc-macro-attributes.rs:3:1
58 error[E0659]: `B` is ambiguous (derive helper attribute vs any other name)
59 --> $DIR/proc-macro-attributes.rs:16:3
61 LL | #[B(arbitrary tokens)]
64 note: `B` could refer to the derive helper attribute defined here
65 --> $DIR/proc-macro-attributes.rs:19:10
69 note: `B` could also refer to the derive macro imported here
70 --> $DIR/proc-macro-attributes.rs:3:1
75 warning: derive helper attribute is used before it is introduced
76 --> $DIR/proc-macro-attributes.rs:6:3
82 | - the attribute is introduced here
84 = note: `#[warn(legacy_derive_helpers)]` on by default
85 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
86 = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
88 warning: derive helper attribute is used before it is introduced
89 --> $DIR/proc-macro-attributes.rs:10:3
95 | - the attribute is introduced here
97 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
98 = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
100 warning: derive helper attribute is used before it is introduced
101 --> $DIR/proc-macro-attributes.rs:13:3
107 | - the attribute is introduced here
109 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
110 = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
112 warning: derive helper attribute is used before it is introduced
113 --> $DIR/proc-macro-attributes.rs:16:3
115 LL | #[B(arbitrary tokens)]
119 | - the attribute is introduced here
121 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
122 = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
124 error: aborting due to 5 previous errors; 4 warnings emitted
126 For more information about this error, try `rustc --explain E0659`.