use paste::paste; paste! { fn []() {} } paste! { // `xyz` is not correct. `xbyz` is certainly not correct. Maybe `x121z` // would be justifiable but for now don't accept this. fn []() {} } paste! { fn []() {} } paste! { fn []() {} } fn main() {}