Commit a4e64ff
committed
Auto merge of rust-lang#11166 - Jarcho:expr_use, r=Centri3
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: None2 files changed
+661
-629
lines changed
0 commit comments