about summary refs log tree commit diff
path: root/tests/ui/feature-gates/feature-gate-async-trait-bounds.rs
blob: 210ce60ef11b3a4ed8fcbbba2492d27174274b94 (plain)
1
2
3
4
5
6
//@ edition: 2021

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

fn main() {}