]> git.lizzy.rs Git - rust.git/blob - src/test/ui/impl-trait/in-trait/default-body-type-err-2.rs
Rollup merge of #105405 - sunfishcode:sunfishcode/export-dynamic, r=TaKO8Ki
[rust.git] / src / test / ui / impl-trait / in-trait / default-body-type-err-2.rs
1 // edition:2021
2
3 #![allow(incomplete_features)]
4 #![feature(async_fn_in_trait)]
5
6 pub trait Foo {
7     async fn woopsie_async(&self) -> String {
8         42
9         //~^ ERROR mismatched types
10     }
11 }
12
13 fn main() {}