2020-03-17 05:30:53 -05:00
|
|
|
error[E0428]: the name `Baz` is defined multiple times
|
2022-09-12 17:42:04 -05:00
|
|
|
--> $DIR/issue-36935.rs:8:1
|
2020-03-17 05:30:53 -05:00
|
|
|
|
|
|
|
|
LL | struct Baz {
|
|
|
|
| ^^^^^^^^^^
|
|
|
|
| |
|
|
|
|
| `Baz` redefined here
|
|
|
|
| previous definition of the type `Baz` here
|
|
|
|
|
|
|
|
|
= note: `Baz` must be defined only once in the type namespace of this module
|
|
|
|
|
2021-04-08 20:35:24 -05:00
|
|
|
error: proc-macro derive panicked
|
2022-09-12 17:42:04 -05:00
|
|
|
--> $DIR/issue-36935.rs:7:20
|
2021-04-08 20:35:24 -05:00
|
|
|
|
|
|
|
|
LL | #[derive(Identity, Panic)]
|
|
|
|
| ^^^^^
|
|
|
|
|
|
|
|
|
= help: message: panic-derive
|
|
|
|
|
2020-03-17 05:30:53 -05:00
|
|
|
error: aborting due to 2 previous errors
|
2019-05-21 17:09:58 -05:00
|
|
|
|
2020-03-17 05:30:53 -05:00
|
|
|
For more information about this error, try `rustc --explain E0428`.
|