1 error: multiple declared defaults
2 --> $DIR/issue-105101.rs:3:10
4 LL | #[derive(Default)]
11 | - additional default
13 = note: only one variant can be default
14 = note: this error originates in the derive macro `Default` (in Nightly builds, run with -Z macro-backtrace for more info)
16 error[E0428]: the name `A` is defined multiple times
17 --> $DIR/issue-105101.rs:8:5
20 | - previous definition of the type `A` here
23 | ^ `A` redefined here
25 = note: `A` must be defined only once in the type namespace of this enum
27 error: aborting due to 2 previous errors
29 For more information about this error, try `rustc --explain E0428`.