mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-07 17:18:32 +03:00
c4c413b6fc
new lint: `borrow_deref_ref` changelog: ``[`borrow_deref_ref`]`` Related pr: #6837 #7577 `@Jarcho` Could you please give a review? `cargo lintcheck` gives no false negative (but tested crates are out-of-date). TODO: 1. Not sure the name. `deref_on_immutable_ref` or some others?