rust/tests/ui/async-await/track-caller/async-closure-gate.rs
2023-01-11 09:32:08 +00:00

10 lines
206 B
Rust

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