You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Improve error message for .await in 2015 edition #63533
error[E0609]: no field `await` on type `std::pin::Pin<&mut dyn std::future::Future<Output = ()>>`
--> src/lib.rs:2:7
|
2 | x.await;
| ^^^^^ unknown field
Ideally the error message would suggest using the 2018 edition.
Activity
est31 commentedon Aug 13, 2019
Part of #61914
Rollup merge of rust-lang#63539 - Centril:2015.await, r=oli-obk
Rollup merge of rust-lang#63539 - Centril:2015.await, r=oli-obk
Rollup merge of rust-lang#63539 - Centril:2015.await, r=oli-obk
Rollup merge of rust-lang#63539 - Centril:2015.await, r=oli-obk
Rollup merge of rust-lang#63539 - Centril:2015.await, r=oli-obk
Rollup merge of rust-lang#63539 - Centril:2015.await, r=oli-obk
Rollup merge of rust-lang#63539 - Centril:2015.await, r=oli-obk
Rollup merge of rust-lang#63539 - Centril:2015.await, r=oli-obk