MCPcopy Create free account
hub / github.com/bitflags/bitflags / main

Function main

tests/compile-fail/bitflags_match_missing_default.rs:18–22  ·  view source on GitHub ↗
()

Source from the content-addressed store, hash-verified

16}
17
18fn main() {
19 bitflags::bitflags_match!(Flags::A | Flags::B, {
20 Flags::A => (),
21 });
22}

Callers

nothing calls this directly

Calls

no outgoing calls

Tested by

no test coverage detected