rust/tests/ui/async-await/in-trait/issue-102219.rs

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

11 lines
160 B
Rust
Raw Normal View History

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