mirror of
https://github.com/rust-lang/rust.git
synced 2025-10-30 04:24:26 +00:00
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