aboutsummaryrefslogtreecommitdiff
path: root/1.3.2/tests/compile-fail/impls/eq.rs
blob: 4abbd630c6e127946a3f78678b6f895d0b6fa9b7 (plain)
1
2
3
4
5
6
7
8
9
10
use bitflags::bitflags;

bitflags! {
    #[derive(PartialEq, Eq)]
    struct Flags: u32 {
        const A = 0b00000001;
    }
}

fn main() {}