]> git.lizzy.rs Git - rust.git/blob - tests/ui/issues/issue-28109.rs
Rollup merge of #106896 - Ezrashaw:str-cast-bool-emptyness, r=compiler-errors
[rust.git] / tests / ui / issues / issue-28109.rs
1 // Make sure that label for continue and break is spanned correctly
2
3 fn main() {
4     loop {
5         continue
6         'b //~ ERROR use of undeclared label
7         ;
8         break
9         'c //~ ERROR use of undeclared label
10         ;
11     }
12 }