174522d2cSopenharmony_cierror[E0119]: conflicting implementations of trait `std::clone::Clone` for type `Flags` 274522d2cSopenharmony_ci --> $DIR/copy.rs:3:1 374522d2cSopenharmony_ci | 474522d2cSopenharmony_ci3 | / bitflags! { 574522d2cSopenharmony_ci4 | | #[derive(Clone, Copy)] 674522d2cSopenharmony_ci | | ----- first implementation here 774522d2cSopenharmony_ci5 | | struct Flags: u32 { 874522d2cSopenharmony_ci6 | | const A = 0b00000001; 974522d2cSopenharmony_ci7 | | } 1074522d2cSopenharmony_ci8 | | } 1174522d2cSopenharmony_ci | |_^ conflicting implementation for `Flags` 1274522d2cSopenharmony_ci | 1374522d2cSopenharmony_ci = note: this error originates in the derive macro `Clone` (in Nightly builds, run with -Z macro-backtrace for more info) 1474522d2cSopenharmony_ci 1574522d2cSopenharmony_cierror[E0119]: conflicting implementations of trait `std::marker::Copy` for type `Flags` 1674522d2cSopenharmony_ci --> $DIR/copy.rs:3:1 1774522d2cSopenharmony_ci | 1874522d2cSopenharmony_ci3 | / bitflags! { 1974522d2cSopenharmony_ci4 | | #[derive(Clone, Copy)] 2074522d2cSopenharmony_ci | | ---- first implementation here 2174522d2cSopenharmony_ci5 | | struct Flags: u32 { 2274522d2cSopenharmony_ci6 | | const A = 0b00000001; 2374522d2cSopenharmony_ci7 | | } 2474522d2cSopenharmony_ci8 | | } 2574522d2cSopenharmony_ci | |_^ conflicting implementation for `Flags` 2674522d2cSopenharmony_ci | 2774522d2cSopenharmony_ci = note: this error originates in the derive macro `Copy` (in Nightly builds, run with -Z macro-backtrace for more info) 28