]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/track-caller/async-closure-gate.rs
Rollup merge of #107108 - sulami:issue-83968-doc-alias-typo-suggestions, r=compiler...
[rust.git] / tests / ui / async-await / track-caller / async-closure-gate.rs
1 // edition:2021
2
3 #![feature(async_closure, stmt_expr_attributes)]
4
5 fn main() {
6     let _ = #[track_caller] async || {
7         //~^ ERROR `#[track_caller]` on closures is currently unstable [E0658]
8     };
9 }