]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #9096 - Jarcho:needless_borrow_subs, r=Manishearth
authorbors <bors@rust-lang.org>
Wed, 6 Jul 2022 21:26:46 +0000 (21:26 +0000)
committerbors <bors@rust-lang.org>
Wed, 6 Jul 2022 21:26:46 +0000 (21:26 +0000)
Fix `needless_borrow` 9095

fixes #9095
changelog: Don't lint `needless_borrow` on method receivers when it would change which trait impl is called

1  2 
clippy_lints/src/dereference.rs

Simple merge