fparkan/vendor/bitflags-1.3.2/tests/compile-fail/impls/eq.rs

11 lines
142 B
Rust
Raw Normal View History

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