File: compile-error-span.rs

package info (click to toggle)
rust-seq-macro 0.3.5-1
  • links: PTS, VCS
  • area: main
  • in suites: forky, sid, trixie
  • size: 176 kB
  • sloc: makefile: 2
file content (7 lines) | stat: -rw-r--r-- 117 bytes parent folder | download
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() {}