blob: d63bccefa9fdc03174c4e08974e4bd24b787aed7 (
plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
|
// edition: 2021
// [next] compile-flags: -Zlower-impl-trait-in-trait-to-assoc-ty
// revisions: current next
#![feature(async_fn_in_trait)]
trait A {
async fn e() {
Ok(())
//~^ ERROR mismatched types
//~| HELP consider using a semicolon here
}
}
fn main() {}
|