1 2 3 4 5 6 7 8 9 10 11 12
use macro_template::template; fn main() { template! { for (Ty, Width) in [ (u16, 2) (u32, 4), ] { let _: [Ty; Width]; } } }