about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-08-30 03:30:23 +0000
committerbors <bors@rust-lang.org>2018-08-30 03:30:23 +0000
commitf1a5373a1b6222cf510d410f37278012b096fbfb (patch)
treeee5d1a5b01e2d918cf069b7d443d348cffc83954 /src/rustllvm/RustWrapper.cpp
parent6244625cb47f810cd457643ae6eafe76a4f4da76 (diff)
parent003cab25d7619f1eabb7de01ce6fa1ff3226b511 (diff)
downloadrust-f1a5373a1b6222cf510d410f37278012b096fbfb.tar.gz
rust-f1a5373a1b6222cf510d410f37278012b096fbfb.zip
Auto merge of #53685 - alexcrichton:more-keywords, r=varkor
Generalize `async_idents` to all new keywords

This commit generalizes the existing `async_idents` lint to easily encompass
other identifiers that will be keywords in future editions. The new lint is
called `keyword_idents` and the old `async_idents` lint is registered as renamed
to this new lint.

As a proof of concept the `try` keyword was added to this list as it looks to be
listed as a keyword in the 2018 edition only. The `await` keyword was not added
as it's not listed as a keyword yet.

Closes #53077
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions