macro_rules! for_range {
    ($pat:pat_param in $range:expr => $($code:tt)*) => { ... };
}