about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorStuart Cook <Zalathar@users.noreply.github.com>2025-04-08 20:55:01 +1000
committerGitHub <noreply@github.com>2025-04-08 20:55:01 +1000
commit6257825c8fed1a5df762ca769abc876d40e70eef (patch)
treeb4a84b9a524e611446c43ee4c586c3f45a69fe4e /compiler/rustc_codegen_llvm/src
parent2b1afcbd1accd9e73c94029d3c420fa26b29676c (diff)
parent250b848272d24d79e815994053a4a690d92b7264 (diff)
downloadrust-6257825c8fed1a5df762ca769abc876d40e70eef.tar.gz
rust-6257825c8fed1a5df762ca769abc876d40e70eef.zip
Rollup merge of #139024 - compiler-errors:tweak-default-value-err, r=lcnr
Make error message for missing fields with `..` and without `..` more consistent

When `..` is not present, we say "missing field `bar` in initializer", but when it is present we say "missing mandatory field `bar`". I don't see why the primary error message should change, b/c the root cause is the same.

Let's harmonize these error messages and instead use a label to explain that `..` is required b/c it's not defaulted.

r? estebank
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions