1 2 3 4 5 6 7 8
use synonym::Synonym; #[derive(Synonym)] pub struct Foo<T> { _foo: std::marker::PhantomData<T> } fn main() {}