1 error[E0119]: conflicting implementations of trait `std::clone::Clone` for type `Flags`
5 4 | | #[derive(Clone, Copy)]
6 | | ----- first implementation here
7 5 | | struct Flags: u32 {
8 6 | | const A = 0b00000001;
11 | |_^ conflicting implementation for `Flags`
13 = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info)
15 error[E0119]: conflicting implementations of trait `std::marker::Copy` for type `Flags`
19 4 | | #[derive(Clone, Copy)]
20 | | ---- first implementation here
21 5 | | struct Flags: u32 {
22 6 | | const A = 0b00000001;
25 | |_^ conflicting implementation for `Flags`
27 = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info)