blob: aa09d4bdf088362190f5dbf901b48896def452ab (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
|
// Regression test for #62312
// check-pass
// edition:2018
async fn make_boxed_object() -> Box<dyn Send> {
Box::new(()) as _
}
async fn await_object() {
let _ = make_boxed_object().await;
}
fn main() {}
|