mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-27 17:24:06 +00:00
bd8a1a417a
Implements RFC 3509.
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) {}
|