summaryrefslogtreecommitdiffstats
path: root/src/test/ui/error-codes/E0767.rs
blob: 14215d36a3833ce8f2874609c3cb5e7c3ed9dae9 (plain)
1
2
3
4
5
6
7
8
fn main() {
    'a: loop {
        || {
            //~^ ERROR mismatched types
            loop { break 'a; } //~ ERROR E0767
        }
    }
}