rust/tests/ui/async-await/track-caller/issue-105134.rs

12 lines
104 B
Rust
Raw Normal View History

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