Debian Codegraph @

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

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