1 error: expected `:`, found `}`
2 --> $DIR/derive-bad.rs:6:10
7 = note: this error originates in the derive macro `A` (in Nightly builds, run with -Z macro-backtrace for more info)
9 error: proc-macro derive produced unparseable tokens
10 --> $DIR/derive-bad.rs:6:10
15 error[E0428]: the name `A` is defined multiple times
16 --> $DIR/derive-bad.rs:9:1
19 | - previous definition of the type `A` here
22 | ^^^^^^^^^ `A` redefined here
24 = note: `A` must be defined only once in the type namespace of this module
26 error: aborting due to 3 previous errors
28 For more information about this error, try `rustc --explain E0428`.