rust/tests/ui/async-await/in-trait/issue-102219.rs
2023-01-11 09:32:08 +00:00

11 lines
160 B
Rust

// compile-flags:--crate-type=lib
// edition:2021
// check-pass
#![feature(async_fn_in_trait)]
#![allow(incomplete_features)]
trait T {
async fn foo();
}