]>
Commit | Line | Data |
---|---|---|
dc9dc135 XL |
1 | error[E0308]: mismatched types |
2 | --> $DIR/suggest-missing-await.rs:15:14 | |
3 | | | |
4 | LL | take_u32(x) | |
5 | | ^ | |
6 | | | | |
7 | | expected u32, found opaque type | |
8 | | help: consider using `.await` here: `x.await` | |
9 | | | |
10 | = note: expected type `u32` | |
11 | found type `impl std::future::Future` | |
12 | ||
416331ca | 13 | error: aborting due to previous error |
dc9dc135 XL |
14 | |
15 | For more information about this error, try `rustc --explain E0308`. |