Debian Codegraph @

debian/missing-sources/derive_more/tests/compile_fail/eq/union.rs

raw
1 #[derive(derive_more::Eq)]
2 union IntOrFloat {
3 i: u32,
4 }
5
6 impl PartialEq for IntOrFloat {
7 fn eq(&self, _: &Self) -> bool {
8 unimplemented!()
9 }
10 }
11
12 fn main() {}