Closed
Description
The Edition Guide claims that await
and try
will be keywords in Edition 2018. On Discord, @scottmcm pointed out that one compatibility lint could check for all the new keywords. Right now we have async_idents
to check for async
, but it makes sense to just have one lint (rust_2018_keyword_idents
?) instead of three, because there's not going to a situation where you would want, e.g., #[warn(async_idents)]
but #[allow(try_idents)]
.
async_idents
is already on the beta train, so if we do this, then we need to either:
- (preferred) do it before the mid-September 1.29 cutoff and backport it to 1.29 beta, or
register_renamed
forasync_idents