87e097a853
Also adds proper checking for cont/break being inside a loop. Closes #1854 Issue #1619
8 lines
111 B
Rust
8 lines
111 B
Rust
// error-pattern:`break` outside of loop
|
|
fn main() {
|
|
let pth = break;
|
|
|
|
let rs: {t: str} = {t: pth};
|
|
|
|
}
|