rustc/tests/ui/async-await/track-caller/async-block.rs
2023-09-14 08:56:40 +02:00

10 lines
188 B
Rust

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