You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
This may be a little difficult because match is still semantically a little different than let. I've found a number of match statements that can become let, but for example all the new formatting code uses a single-case match instead of a let for lifetime reasons.
Since new lints have a big impact on users of rustc, the policy is that they should go through the RFC process like other user-facing changes. As such, I'm going to give this one a close, but if anyone comes across this ticket and wants this lint, consider adding it to clippy and/or writing up an RFC. Thanks!
Activity
alexcrichton commentedon Feb 21, 2014
This may be a little difficult because
matchis still semantically a little different thanlet. I've found a number ofmatchstatements that can becomelet, but for example all the new formatting code uses a single-casematchinstead of aletfor lifetime reasons.steveklabnik commentedon Apr 28, 2015
Traige: this lint still does not exist.
steveklabnik commentedon Feb 11, 2016
Since new lints have a big impact on users of rustc, the policy is that they should go through the RFC process like other user-facing changes. As such, I'm going to give this one a close, but if anyone comes across this ticket and wants this lint, consider adding it to clippy and/or writing up an RFC. Thanks!
Auto merge of rust-lang#12447 - MarcusGrass:mg/fix-12438-regression, …