diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2018-08-24 13:48:20 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2018-08-29 09:34:53 -0700 |
| commit | 003cab25d7619f1eabb7de01ce6fa1ff3226b511 (patch) | |
| tree | 6e62271b0521e6d8436e98160b738740f6caa93c /src/rustllvm/RustWrapper.cpp | |
| parent | e6b35b0e1115f008796e8313574e4a4739b6d39d (diff) | |
| download | rust-003cab25d7619f1eabb7de01ce6fa1ff3226b511.tar.gz rust-003cab25d7619f1eabb7de01ce6fa1ff3226b511.zip | |
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
