mirror of
https://github.com/allankoechke/rust.git
synced 2026-12-01 01:26:32 +00:00
improve diagnostic suggestion when matching struct variants with tuple fixes rust-lang/rust#158641 changes: passed `sub_pats` from `resolve_pat_tuple_struct` into `report_unexpected_variant_res`, match user's variable names to struct fields, fix suggestion name.