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
8 --> $DIR/proc-macro-attributes.rs:6:3
13 = note: ambiguous because of a name conflict with a derive helper attribute
14 note: `B` could refer to the derive helper attribute defined here
15 --> $DIR/proc-macro-attributes.rs:19:10
19 note: `B` could also refer to the derive macro imported here
20 --> $DIR/proc-macro-attributes.rs:3:1
25 error[E0659]: `B` is ambiguous
26 --> $DIR/proc-macro-attributes.rs:10:3
31 = note: ambiguous because of a name conflict with a derive helper attribute
32 note: `B` could refer to the derive helper attribute defined here
33 --> $DIR/proc-macro-attributes.rs:19:10
37 note: `B` could also refer to the derive macro imported here
38 --> $DIR/proc-macro-attributes.rs:3:1
43 error[E0659]: `B` is ambiguous
44 --> $DIR/proc-macro-attributes.rs:13:3
49 = note: ambiguous because of a name conflict with a derive helper attribute
50 note: `B` could refer to the derive helper attribute defined here
51 --> $DIR/proc-macro-attributes.rs:19:10
55 note: `B` could also refer to the derive macro imported here
56 --> $DIR/proc-macro-attributes.rs:3:1
61 error[E0659]: `B` is ambiguous
62 --> $DIR/proc-macro-attributes.rs:16:3
64 LL | #[B(arbitrary tokens)]
67 = note: ambiguous because of a name conflict with a derive helper attribute
68 note: `B` could refer to the derive helper attribute defined here
69 --> $DIR/proc-macro-attributes.rs:19:10
73 note: `B` could also refer to the derive macro imported here
74 --> $DIR/proc-macro-attributes.rs:3:1
79 warning: derive helper attribute is used before it is introduced
80 --> $DIR/proc-macro-attributes.rs:6:3
86 | - the attribute is introduced here
88 = note: `#[warn(legacy_derive_helpers)]` on by default
89 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
90 = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
92 warning: derive helper attribute is used before it is introduced
93 --> $DIR/proc-macro-attributes.rs:10:3
99 | - the attribute is introduced here
101 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
102 = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
104 warning: derive helper attribute is used before it is introduced
105 --> $DIR/proc-macro-attributes.rs:13:3
111 | - the attribute is introduced here
113 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
114 = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
116 warning: derive helper attribute is used before it is introduced
117 --> $DIR/proc-macro-attributes.rs:16:3
119 LL | #[B(arbitrary tokens)]
123 | - the attribute is introduced here
125 = warning: this was previously accepted by the compiler but is being phased out; it will become a hard error in a future release!
126 = note: for more information, see issue #79202 <https://github.com/rust-lang/rust/issues/79202>
128 error: aborting due to 5 previous errors; 4 warnings emitted
130 For more information about this error, try `rustc --explain E0659`.