rust/tests/ui/issues/issue-15207.rs

7 lines
115 B
Rust

fn main() {
loop {
break.push(1) //~ ERROR no method named `push` found for type `!`
;
}
}