2022-09-24 13:53:53 -05:00
|
|
|
// compile-flags:--crate-type=lib
|
|
|
|
// edition:2021
|
|
|
|
// check-pass
|
2023-03-07 15:26:02 -06:00
|
|
|
// [next] compile-flags: -Zlower-impl-trait-in-trait-to-assoc-ty
|
|
|
|
// revisions: current next
|
2022-09-24 13:53:53 -05:00
|
|
|
|
|
|
|
#![feature(async_fn_in_trait)]
|
|
|
|
#![allow(incomplete_features)]
|
|
|
|
|
|
|
|
trait T {
|
|
|
|
async fn foo();
|
|
|
|
}
|