mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-15 20:45:45 +03:00
1ecc9d7e04
The wrong `TypeckResults` was used in the fallback equality function passed by the `match_same_arms` and `filter_map` lints. Previously, those fallback functions had no way of using the proper `TypeckResults`. Those (one per expression being compared) are now passed to the registered fallback function.