rust/tests/ui/rust-2024/prelude2024.rs

Ignoring revisions in .git-blame-ignore-revs. Click here to bypass and see the normal blame view.

10 lines
175 B
Rust
Raw Normal View History

//@ check-pass
//@ compile-flags: -Zunstable-options
//@ edition:2024
fn main() {
fut(async {}.into_future(), async {});
}
fn fut(_: impl Future, _: impl IntoFuture) {}