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