1 error[E0428]: the name `Baz` is defined multiple times
2 --> $DIR/issue-36935.rs:8:1
8 | previous definition of the type `Baz` here
10 = note: `Baz` must be defined only once in the type namespace of this module
12 error: proc-macro derive panicked
13 --> $DIR/issue-36935.rs:7:20
15 LL | #[derive(Identity, Panic)]
18 = help: message: panic-derive
20 error: aborting due to 2 previous errors
22 For more information about this error, try `rustc --explain E0428`.