mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-16 21:15:18 +03:00
a4e64ff375
Refactor some of `dereference.rs` to util functions I've seen a few lints that need to be able to tell if changing the type of an expression would be a vaild suggestion. This extracts part of how that's done from `explicit_auto_deref`. changelog: None