about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/spans.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2023-10-17 00:53:53 +0000
committerbors <bors@rust-lang.org>2023-10-17 00:53:53 +0000
commit39164b84e0c6d94b15c78fcbf9bb5cfb76693045 (patch)
treef176fee2982540f026877973b570b9a999ca02b8 /compiler/rustc_mir_transform/src/coverage/spans.rs
parent64338796ab1092e2ad01283b14606e2d8d5d28fc (diff)
parent91f2fbc867bfc31f2e103b09e605c61f1a450b33 (diff)
downloadrust-39164b84e0c6d94b15c78fcbf9bb5cfb76693045.tar.gz
rust-39164b84e0c6d94b15c78fcbf9bb5cfb76693045.zip
Auto merge of #116826 - nnethercote:fix-116780-116797, r=compiler-errors
Fix a performance regression in obligation deduplication.

Commit 8378487 from #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 and 8378487 was of minimal importance, so the perf benefits from that PR remain.

Fixes #116780, #116797.

r? `@compiler-errors`
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/spans.rs')
0 files changed, 0 insertions, 0 deletions