mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-23 10:41:58 +03:00
35026c7ea8
If a reborrow is itself borrowed mutably, do not propose to replace it by the original reference. Fixes: rust-lang/rust-clippy#14934 changelog: [`borrow_deref_ref`]: do not propose replacing a reborrow by the original reference if the reborrow is itself mutably borrowed