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