mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
39164b84e0
Fix a performance regression in obligation deduplication. Commit8378487from #114611 changed the location of an obligation deduplication step in `opt_normalize_projection_type`. This meant that deduplication stopped happening on one path where it was still necessary, causing a couple of drastic performance regressions. This commit moves the deduplication back to the old location. The good news is that #114611 had four commits and8378487was of minimal importance, so the perf benefits from that PR remain. Fixes #116780, #116797. r? `@compiler-errors`