rust/tests/ui/rust-2024/prelude2024.rs
2024-02-18 23:20:05 +01:00

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) {}