use impl_template::impl_template; trait GenericFoo {} struct Bar; struct Baz; struct Xyz; #[impl_template] impl GenericFoo<((Bar, Baz))> for Xyz {} fn main() { assert_impls_foo::(); assert_impls_foo::(); } fn assert_impls_foo, T>() {}