mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-22 10:05:06 +03:00
db539d051d
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(..)`.