summaryrefslogtreecommitdiffstats
path: root/tests/ui/async-await/track-caller/async-closure-gate.rs
blob: d9d556855991b881b5d8b4237263e947d5cdbd13 (plain)
1
2
3
4
5
6
7
8
9
// edition:2021

#![feature(async_closure, stmt_expr_attributes)]

fn main() {
    let _ = #[track_caller] async || {
        //~^ ERROR `#[track_caller]` on closures is currently unstable [E0658]
    };
}