mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-30 21:16:27 +03:00
9c843d9fa3
Misc HIR typeck type mismatch tweaks These are all intended to improve #112104, but I couldn't get it to actually suggest adding `as_ref` to the LHS of the equality expr without some hacks that I may play around with some more. Each commit's title should explain what it's doing except for perhaps the last one, which addresses the bogus suggestion on #112104 itself.