about summary refs log tree commit diff
path: root/compiler/rustc_pattern_analysis/src
diff options
context:
space:
mode:
authorLeón Orell Valerian Liehr <me@fmease.dev>2024-06-19 09:51:59 +0200
committerGitHub <noreply@github.com>2024-06-19 09:51:59 +0200
commit96144c94afecd51b1184643edc9510db02335290 (patch)
tree231388c4fa25cb00a73f16e492b1bd0e58f696cd /compiler/rustc_pattern_analysis/src
parentf03bd96d6603fa2e4ae3032ded8bdc2b350ea381 (diff)
parent012a458dcabc6438ee070c074435860690475370 (diff)
downloadrust-96144c94afecd51b1184643edc9510db02335290.tar.gz
rust-96144c94afecd51b1184643edc9510db02335290.zip
Rollup merge of #124580 - gurry:124556-suggest-remove-tuple-field, r=jackh726
Suggest removing unused tuple fields if they are the last fields

Fixes #124556

We now check if dead/unused fields are the last fields of the tuple and suggest their removal instead of suggesting them to be changed to `()`.
Diffstat (limited to 'compiler/rustc_pattern_analysis/src')
0 files changed, 0 insertions, 0 deletions