summaryrefslogtreecommitdiffstats
path: root/src/test/ui/async-await/issue-73541-2.rs
blob: 70b4ab2537626dc3dae0833bc5009ef53500294a (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
// edition:2018

async fn c() {
    'a: loop {
        macro_rules! b {
            () => {
                continue 'a
                //~^ ERROR use of unreachable label `'a`
            }
        }

        async {
            loop {
                b!();
            }
        };
    }
}

fn main() { }