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

#![feature(stmt_expr_attributes)]

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