1 warning: the feature `async_fn_in_trait` is incomplete and may not be safe to use and/or cause compiler crashes
2 --> $DIR/return-type-suggestion.rs:3:12
4 LL | #![feature(async_fn_in_trait)]
7 = note: see issue #91611 <https://github.com/rust-lang/rust/issues/91611> for more information
8 = note: `#[warn(incomplete_features)]` on by default
10 error[E0308]: mismatched types
11 --> $DIR/return-type-suggestion.rs:8:9
14 | ^^^^^^- help: consider using a semicolon here: `;`
16 | expected `()`, found enum `Result`
18 = note: expected unit type `()`
19 found enum `Result<(), _>`
21 error: aborting due to previous error; 1 warning emitted
23 For more information about this error, try `rustc --explain E0308`.