ZeroTierOne/zeroidc/vendor/bitflags/tests/compile-fail/impls/copy.rs

11 lines
140 B
Rust

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