fork/rust
git clone https://git.julia.blue/fork/rust
5e1a799842b
1.41.0
1error[E0308]: mismatched types 2 --> $DIR/suggest-missing-await.rs:13:14 3 | 4LL | 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 opaque type `impl std::future::Future` 12 13error[E0308]: mismatched types 14 --> $DIR/suggest-missing-await.rs:23:5 15 | 16LL | dummy() 17 | ^^^^^^^ expected `()`, found opaque type 18 | 19 = note: expected unit type `()` 20 found opaque type `impl std::future::Future` 21help: try adding a semicolon 22 | 23LL | dummy(); 24 | ^ 25help: consider using `.await` here 26 | 27LL | dummy().await 28 | 29 30error: aborting due to 2 previous errors 31 32For more information about this error, try `rustc --explain E0308`.