1 2 3 4 5 6 7 8 9 10 11
fn main() { macro_rules! create_type { ($s:ident) => { struct $s(i32); }; } create_type!(Wrapper); let _ = Wrapper(15); }