rust/tests/ui/async-await/track-caller/issue-105134.rs
2024-02-16 20:02:50 +00:00

12 lines
106 B
Rust

//@ check-pass
//@ edition:2021
#[track_caller]
fn f() {
let _ = async {};
}
fn main() {
f();
}