1 use bitflags::bitflags; 2 3 // Checks for possible errors caused by overriding names used by `bitflags!` internally. 4 5 mod core {} 6 mod _core {} 7 8 bitflags! { 9 struct Test: u8 { 10 const A = 1; 11 } 12 } 13 main()14 fn main() {} 15