]> git.lizzy.rs Git - rust.git/blob - src/test/ui/issues/issue-28109.rs
Merge commit '6ed6f1e6a1a8f414ba7e6d9b8222e7e5a1686e42' into clippyup
[rust.git] / src / test / 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 }