fparkan/vendor/bitflags-1.3.2/tests/compile-fail/visibility/pub_const.rs

10 lines
127 B
Rust
Raw Normal View History

use bitflags::bitflags;
bitflags! {
pub struct Flags1: u32 {
pub const FLAG_A = 0b00000001;
}
}
fn main() {}