Debian Codegraph @

.cargo/vendor/bitflags-1.3.2/tests/compile-pass/redefinition/core.rs

raw
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
14 fn main() {}