mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-18 11:34:11 +00:00
10 lines
175 B
Rust
10 lines
175 B
Rust
|
//@ check-pass
|
||
|
//@ compile-flags: -Zunstable-options
|
||
|
//@ edition:2024
|
||
|
|
||
|
fn main() {
|
||
|
fut(async {}.into_future(), async {});
|
||
|
}
|
||
|
|
||
|
fn fut(_: impl Future, _: impl IntoFuture) {}
|