blob: f3fdfa3459aeaf3949b3bde0385618c66a66205d (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
|
// compile-flags:--crate-type=lib
// edition:2021
// check-pass
// [next] compile-flags: -Zlower-impl-trait-in-trait-to-assoc-ty
// revisions: current next
#![feature(async_fn_in_trait)]
#![allow(incomplete_features)]
trait T {
async fn foo();
}
|