mirror of
https://git.proxmox.com/git/rustc
synced 2025-08-15 15:39:20 +00:00
15 lines
218 B
Rust
15 lines
218 B
Rust
// 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() {}
|