Emit better suggestions for `&T == T` and `T == &T` Fixes #40660 Fixes #44695
rustc_*/Cargo.toml
gen
For more information about how rustc works, see the rustc dev guide.