seq-macro 0.2.1

Macro to repeat sequentially indexed copies of a fragment of code.
Documentation
1
2
3
4
5
6
7
use seq_macro::seq;

seq!(N in 0..4 {
    compile_error!(concat!("error number ", stringify!(N)));
});

fn main() {}