name![type; {el, ..., el}, ... , {el, ... , el}]
[$type:ty, ($row:block ($el:expr)+)+] => {
}
name![i32; {1}]: missing tokens in macro arguments
missing tokens in macro arguments
macro_rules! name {
($t: ty, $({$($el:expr ),*}),*) => {42};
}
fn main() {
name!(i32, {1, 2, 3 ,4}, {1,2});
}