]> git.lizzy.rs Git - rust.git/commitdiff
Auto merge of #8298 - ebobrow:op_ref_fp, r=giraffate
authorbors <bors@rust-lang.org>
Tue, 18 Jan 2022 00:12:42 +0000 (00:12 +0000)
committerbors <bors@rust-lang.org>
Tue, 18 Jan 2022 00:12:42 +0000 (00:12 +0000)
fix op_ref false positive

fixes #7572

changelog: `op_ref` don't lint for unnecessary reference in BinOp impl if removing the reference will lead to unconditional recursion


Trivial merge