rust-clippy icon indicating copy to clipboard operation
rust-clippy copied to clipboard

Fix `match_single_binding` wrongly handles scope

Open profetia opened this issue 7 months ago • 1 comments

Closes rust-lang/rust-clippy#15018

Continuation of rust-lang/rust-clippy#15017

changelog: [match_single_binding] fix wrong handling of scope

profetia avatar Jun 15 '25 13:06 profetia

r? @dswij

rustbot has assigned @dswij. They will have a look at your PR within the next two weeks and either review your PR or reassign to another reviewer.

Use r? to explicitly pick a reviewer

rustbot avatar Jun 15 '25 13:06 rustbot

r? samueltardieu

profetia avatar Jun 30 '25 07:06 profetia

I will try also include fixes for #15162

profetia avatar Jun 30 '25 07:06 profetia

Reverting unsollicited reassignment r? dswij

samueltardieu avatar Jun 30 '25 07:06 samueltardieu

This doesn't seem to fix #15269 which is of the same category. Could you have a look @profetia?

samueltardieu avatar Jul 14 '25 19:07 samueltardieu

@samueltardieu #15269 is fixed in this PR now

profetia avatar Jul 15 '25 14:07 profetia

Updated. Thank you!

profetia avatar Jul 17 '25 12:07 profetia

Any feedback? @dswij

profetia avatar Jul 27 '25 07:07 profetia

Sorry, was buried with things to do past two weeks. Thanks for the ping! :)

dswij avatar Jul 28 '25 12:07 dswij