use daft::Diffable; use std::collections::BTreeMap; #[derive(Debug, Eq, PartialEq, Diffable)] struct S<'a, T, U> where T: Diffable + Eq + 'a, U: Diffable + 'a, { a: BTreeMap, b: usize, c: &'a U, d: &'a str, } fn main() {}