1 2 3 4 5 6 7 8 9 10 11 12 13 14
use toti; trait Trait {} #[toti::expand(10)] macro_rules! vars { ($($T:ident),+) => { impl<$($T),+> Trait for ($($T,)+) {} }; } fn main() { }