rust/tests/ui/feature-gates/feature-gate-async-trait-bounds.rs

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

7 lines
109 B
Rust
Raw Normal View History

//@ edition: 2021
fn test(_: impl async Fn()) {}
//~^ ERROR `async` trait bounds are unstable
fn main() {}