fparkan/vendor/bitflags-1.3.2/tests/compile-pass/impls/default.rs

11 lines
136 B
Rust
Raw Normal View History

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