about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src/errors.rs
diff options
context:
space:
mode:
authorSamuel Tardieu <sam@rfc1149.net>2025-06-21 18:30:55 +0200
committerSamuel Tardieu <sam@rfc1149.net>2025-06-21 19:00:38 +0200
commitdb539d051d2204521c1fb914c91e5e55d4e0b4be (patch)
tree63c50be7ba1031aa314ec805652b2c4065e5169e /compiler/rustc_codegen_llvm/src/errors.rs
parenta421ffbadb2b1de1ec570f2c763b25fbd3aed9d5 (diff)
downloadrust-db539d051d2204521c1fb914c91e5e55d4e0b4be.tar.gz
rust-db539d051d2204521c1fb914c91e5e55d4e0b4be.zip
Add missing space when expanding a struct-like variant
In `wildcard_enum_match_arm`, expanding a variant with struct-like
fields was missing a space between the variant name and the opening
bracket.

Also, add a test for tuple-like variants with only one field, as those
are expanded as `VariantName(_)` instead of `VariantName(..)`.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src/errors.rs')
0 files changed, 0 insertions, 0 deletions