rust/tests/ui/async-await/in-trait/auxiliary/foreign-async-fn.rs

8 lines
88 B
Rust

// edition:2021
#![feature(async_fn_in_trait)]
pub trait Foo {
async fn test();
}