diff options
| author | Jieyou Xu <jieyouxu@outlook.com> | 2025-08-15 23:39:33 +0800 |
|---|---|---|
| committer | Jieyou Xu <jieyouxu@outlook.com> | 2025-08-18 21:57:11 +0800 |
| commit | ddd99930f34b79f209c61cc25706a1dac1173762 (patch) | |
| tree | c0a99b90beba9a9a5b5e8bc29e6534b6d783bbd8 /compiler/rustc_parse/messages.ftl | |
| parent | eb3441b25a7acbce8cec0571b3f8ec87cca8c349 (diff) | |
| download | rust-ddd99930f34b79f209c61cc25706a1dac1173762.tar.gz rust-ddd99930f34b79f209c61cc25706a1dac1173762.zip | |
Turn invalid index suffixes into hard errors
Diffstat (limited to 'compiler/rustc_parse/messages.ftl')
| -rw-r--r-- | compiler/rustc_parse/messages.ftl | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/compiler/rustc_parse/messages.ftl b/compiler/rustc_parse/messages.ftl index 9e0075c21b9..0d1a3c78389 100644 --- a/compiler/rustc_parse/messages.ftl +++ b/compiler/rustc_parse/messages.ftl @@ -473,9 +473,6 @@ parse_invalid_label = parse_invalid_literal_suffix_on_tuple_index = suffixes on a tuple index are invalid .label = invalid suffix `{$suffix}` - .tuple_exception_line_1 = `{$suffix}` is *temporarily* accepted on tuple index fields as it was incorrectly accepted on stable for a few releases - .tuple_exception_line_2 = on proc macros, you'll want to use `syn::Index::from` or `proc_macro::Literal::*_unsuffixed` for code that will desugar to tuple field access - .tuple_exception_line_3 = see issue #60210 <https://github.com/rust-lang/rust/issues/60210> for more information parse_invalid_logical_operator = `{$incorrect}` is not a logical operator .note = unlike in e.g., Python and PHP, `&&` and `||` are used for logical operators |
