rust/tests/ui/async-await/track-caller/async-closure-gate.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
206 B
Rust
Raw Normal View History

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