mirror of
https://github.com/rust-lang/rust.git
synced 2025-05-14 02:49:40 +00:00
7 lines
109 B
Rust
7 lines
109 B
Rust
//@ edition: 2021
|
|
|
|
fn test(_: impl async Fn()) {}
|
|
//~^ ERROR `async` trait bounds are unstable
|
|
|
|
fn main() {}
|