diff options
| author | David Wood <david.wood@huawei.com> | 2022-06-28 14:28:02 +0100 |
|---|---|---|
| committer | David Wood <david.wood@huawei.com> | 2022-06-30 08:59:22 +0100 |
| commit | 10676418fa01d4f0ae8a34c57e4a71d7cd4c7cf2 (patch) | |
| tree | 57b7c6af34703470a0c1a1edb6d62b7651dbfdf4 /compiler/rustc_error_messages | |
| parent | 10f2d3f566d4271ee95b9b1ae51dbf51b4aa1707 (diff) | |
| download | rust-10676418fa01d4f0ae8a34c57e4a71d7cd4c7cf2.tar.gz rust-10676418fa01d4f0ae8a34c57e4a71d7cd4c7cf2.zip | |
lint: port keyword idents diagnostics
Signed-off-by: David Wood <david.wood@huawei.com>
Diffstat (limited to 'compiler/rustc_error_messages')
| -rw-r--r-- | compiler/rustc_error_messages/locales/en-US/lint.ftl | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/compiler/rustc_error_messages/locales/en-US/lint.ftl b/compiler/rustc_error_messages/locales/en-US/lint.ftl index 4d1aca61105..134ee43f022 100644 --- a/compiler/rustc_error_messages/locales/en-US/lint.ftl +++ b/compiler/rustc_error_messages/locales/en-US/lint.ftl @@ -373,3 +373,6 @@ lint-builtin-ellipsis-inclusive-range-patterns = `...` range patterns are deprec .suggestion = use `..=` for an inclusive range lint-builtin-unnameable-test-items = cannot test inner items + +lint-builtin-keyword-idents = `{$kw}` is a keyword in the {$next} edition + .suggestion = you can use a raw identifier to stay compatible |
