You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Copy file name to clipboardExpand all lines: compiler/rustc_error_messages/locales/en-US/parser.ftl
+9Lines changed: 9 additions & 0 deletions
Original file line number
Diff line number
Diff line change
@@ -215,6 +215,15 @@ parser_octal_float_literal_not_supported = octal float literal is not supported
215
215
parser_binary_float_literal_not_supported = binary float literal is not supported
216
216
parser_not_supported = not supported
217
217
218
+
parser_invalid_literal_suffix = suffixes on {$kind} literals are invalid
219
+
.label = invalid suffix `{$suffix}`
220
+
221
+
parser_invalid_literal_suffix_on_tuple_index = suffixes on a tuple index are invalid
222
+
.label = invalid suffix `{$suffix}`
223
+
.tuple_exception_line_1 = `{$suffix}` is *temporarily* accepted on tuple index fields as it was incorrectly accepted on stable for a few releases
224
+
.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
225
+
.tuple_exception_line_3 = see issue #60210 <https://github.com/rust-lang/rust/issues/60210> for more information
226
+
218
227
parser_non_string_abi_literal = non-string ABI literal
219
228
.suggestion = specify the ABI with a string literal
0 commit comments