mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-28 11:17:26 +03:00
9ab54df8d7
Erase regions better in `promote_candidate` Use `tcx.erase_regions` instead of manually walking through the substs.... this also makes the code slightly simpler 🙈 Fixes #100360 Fixes #89851