rust/tests/ui/async-await/issues/auxiliary/issue_67893.rs
Camille GILLOT 211d2ed07b Bless tests.
2023-09-23 13:47:30 +00:00

13 lines
223 B
Rust

// edition:2018
use std::sync::{Arc, Mutex};
fn make_arc() -> Arc<Mutex<()>> { unimplemented!() }
pub async fn f(_: ()) {}
pub async fn run() {
let x: Arc<Mutex<()>> = make_arc();
f(*x.lock().unwrap()).await;
}