diff options
| author | Jieyou Xu <jieyouxu@outlook.com> | 2025-06-16 17:53:44 +0800 |
|---|---|---|
| committer | Jieyou Xu <jieyouxu@outlook.com> | 2025-06-17 07:27:58 +0800 |
| commit | 2dd9cc113067113453efcff722e3a5c0893a6244 (patch) | |
| tree | 38038270bfc1ddf53fb927fc71734373a7ee7c8f /compiler/rustc_ast_lowering/messages.ftl | |
| parent | 32c0cb0f5a18ae1cb1966944d287e15ff9225b7d (diff) | |
| download | rust-2dd9cc113067113453efcff722e3a5c0893a6244.tar.gz rust-2dd9cc113067113453efcff722e3a5c0893a6244.zip | |
Reject union default field values
Diffstat (limited to 'compiler/rustc_ast_lowering/messages.ftl')
| -rw-r--r-- | compiler/rustc_ast_lowering/messages.ftl | 2 |
1 files changed, 2 insertions, 0 deletions
diff --git a/compiler/rustc_ast_lowering/messages.ftl b/compiler/rustc_ast_lowering/messages.ftl index 5ef76fb64aa..50eb7c7ae99 100644 --- a/compiler/rustc_ast_lowering/messages.ftl +++ b/compiler/rustc_ast_lowering/messages.ftl @@ -179,6 +179,8 @@ ast_lowering_underscore_expr_lhs_assign = in expressions, `_` can only be used on the left-hand side of an assignment .label = `_` not allowed here +ast_lowering_union_default_field_values = unions cannot have default field values + ast_lowering_unstable_inline_assembly = inline assembly is not stable yet on this architecture ast_lowering_unstable_inline_assembly_label_operand_with_outputs = using both label and output operands for inline assembly is unstable |
