]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #54411 - cramertj:await-keyword-error, r=nikomatsakis
authorbors <bors@rust-lang.org>
Tue, 25 Sep 2018 15:20:10 +0000 (15:20 +0000)
committerbors <bors@rust-lang.org>
Tue, 25 Sep 2018 15:20:10 +0000 (15:20 +0000)
Make "await" a pseudo-edition keyword

This change makes "await" ident an error in 2018 edition without async_await
feature and adds "await" to the 2018 edition keyword lint group that
suggest migration on the 2015 edition.

cc https://github.com/rust-lang/rust/issues/53834

r? @nikomatsakis


Trivial merge