Debian Codegraph @

tests/fixtures/invalid/struct-field-not-diffable.rs

raw symbols SCIP
1 use daft::Diffable;
2
3 struct NonDiffable {}
4
5 #[derive(Diffable)]
6 struct MyStruct {
7 a: i32,
8 b: NonDiffable,
9 }
10
11 fn main() {
12 // MyStruct should still exist, even though the Diffable impl has errors.
13 let _ = MyStruct { a: 0, b: NonDiffable {} };
14 }