]> git.lizzy.rs Git - rust.git/blob - tests/ui/async-await/issue-101715.stderr
Rollup merge of #106958 - jyn514:labels, r=m-ou-se
[rust.git] / tests / ui / async-await / issue-101715.stderr
1 error[E0277]: `()` is not a future
2   --> $DIR/issue-101715.rs:11:9
3    |
4 LL |         .await
5    |         ^^^^^^
6    |         |
7    |         `()` is not a future
8    |         help: remove the `.await`
9    |
10    = help: the trait `Future` is not implemented for `()`
11    = note: () must be a future or must implement `IntoFuture` to be awaited
12    = note: required for `()` to implement `IntoFuture`
13
14 error: aborting due to previous error
15
16 For more information about this error, try `rustc --explain E0277`.