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