fork/rust

git clone https://git.julia.blue/fork/rust

borsAuto merge of #69854 - pietroalbini:stable-next, r=Centrilb8cedc00407

1.42.0
492 B15 linesraw
1error[E0308]: mismatched types
2  --> $DIR/dont-suggest-missing-await.rs:14:18
3   |
4LL | async fn make_u32() -> u32 {
5   |                        --- the `Output` of this `async fn`'s found opaque type
6...
7LL |         take_u32(x)
8   |                  ^ expected `u32`, found opaque type
9   |
10   = note:     expected type `u32`
11           found opaque type `impl std::future::Future`
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0308`.