1 2 3 4 5 6 7 8 9 10 11 12 13 14 15 16 17 18 19
const TEST = 0; #[if(TEST) { fn bad_fn() { if 1 { putstrln("This function definition should error") } } }] fn main() { let a = true; while a { if 1 != 0 { a = false; } } }