1 error[E0277]: `()` is not a future
2 --> $DIR/unnecessary-await.rs:9:10
5 | -----^^^^^^ `()` is not a future
7 | this call returns `()`
9 = help: the trait `Future` is not implemented for `()`
10 = note: () must be a future or must implement `IntoFuture` to be awaited
11 = note: required for `()` to implement `IntoFuture`
12 help: remove the `.await`
17 help: alternatively, consider making `fn boo` asynchronous
19 LL | async fn boo() {}
22 error: aborting due to previous error
24 For more information about this error, try `rustc --explain E0277`.