1 2 3 4 5 6 7 8 9 10
use daft::Diffable; use std::fmt::Debug; #[derive(Debug, Eq, PartialEq, Diffable)] enum EnumWithGenerics<'a, T, U> { A(T), B(&'a U), } fn main() {}