174522d2cSopenharmony_cierror[E0119]: conflicting implementations of trait `std::cmp::PartialEq` for type `Flags`
274522d2cSopenharmony_ci --> $DIR/eq.rs:3:1
374522d2cSopenharmony_ci  |
474522d2cSopenharmony_ci3 | / bitflags! {
574522d2cSopenharmony_ci4 | |     #[derive(PartialEq, Eq)]
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 `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
1474522d2cSopenharmony_ci
1574522d2cSopenharmony_cierror[E0119]: conflicting implementations of trait `std::cmp::Eq` for type `Flags`
1674522d2cSopenharmony_ci --> $DIR/eq.rs:3:1
1774522d2cSopenharmony_ci  |
1874522d2cSopenharmony_ci3 | / bitflags! {
1974522d2cSopenharmony_ci4 | |     #[derive(PartialEq, Eq)]
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 `Eq` (in Nightly builds, run with -Z macro-backtrace for more info)
2874522d2cSopenharmony_ci
2974522d2cSopenharmony_cierror[E0119]: conflicting implementations of trait `std::marker::StructuralPartialEq` for type `Flags`
3074522d2cSopenharmony_ci --> $DIR/eq.rs:3:1
3174522d2cSopenharmony_ci  |
3274522d2cSopenharmony_ci3 | / bitflags! {
3374522d2cSopenharmony_ci4 | |     #[derive(PartialEq, Eq)]
3474522d2cSopenharmony_ci  | |              --------- first implementation here
3574522d2cSopenharmony_ci5 | |     struct Flags: u32 {
3674522d2cSopenharmony_ci6 | |         const A = 0b00000001;
3774522d2cSopenharmony_ci7 | |     }
3874522d2cSopenharmony_ci8 | | }
3974522d2cSopenharmony_ci  | |_^ conflicting implementation for `Flags`
4074522d2cSopenharmony_ci  |
4174522d2cSopenharmony_ci  = note: this error originates in the derive macro `PartialEq` (in Nightly builds, run with -Z macro-backtrace for more info)
4274522d2cSopenharmony_ci
4374522d2cSopenharmony_cierror[E0119]: conflicting implementations of trait `std::marker::StructuralEq` for type `Flags`
4474522d2cSopenharmony_ci --> $DIR/eq.rs:3:1
4574522d2cSopenharmony_ci  |
4674522d2cSopenharmony_ci3 | / bitflags! {
4774522d2cSopenharmony_ci4 | |     #[derive(PartialEq, Eq)]
4874522d2cSopenharmony_ci  | |                         -- first implementation here
4974522d2cSopenharmony_ci5 | |     struct Flags: u32 {
5074522d2cSopenharmony_ci6 | |         const A = 0b00000001;
5174522d2cSopenharmony_ci7 | |     }
5274522d2cSopenharmony_ci8 | | }
5374522d2cSopenharmony_ci  | |_^ conflicting implementation for `Flags`
5474522d2cSopenharmony_ci  |
5574522d2cSopenharmony_ci  = note: this error originates in the derive macro `Eq` (in Nightly builds, run with -Z macro-backtrace for more info)
56