use synonym::Synonym; #[derive(Synonym)] pub struct Foo { _foo: std::marker::PhantomData } fn main() {}