Debian Codegraph @

.cargo/vendor/bitflags-1.3.2/tests/compile-fail/non_integer_base/all_missing.rs

raw
1 use bitflags::bitflags;
2
3 struct MyInt(u8);
4
5 bitflags! {
6 struct Flags128: MyInt {
7 const A = MyInt(0b0000_0001);
8 const B = MyInt(0b0000_0010);
9 const C = MyInt(0b0000_0100);
10 }
11 }
12
13 fn main() {}