1 2 3 4 5 6 7 8 9 10
// compile-flags:--crate-type=lib // edition:2021 // check-pass #![allow(incomplete_features)] trait T { #[allow(async_fn_in_trait)] async fn foo(); }