]> git.lizzy.rs Git - rust.git/commit - src/tools/rust-analyzer
Auto merge of #89285 - jackh726:issue-88862, r=nikomatsakis
authorbors <bors@rust-lang.org>
Mon, 27 Sep 2021 14:08:13 +0000 (14:08 +0000)
committerbors <bors@rust-lang.org>
Mon, 27 Sep 2021 14:08:13 +0000 (14:08 +0000)
commit2b6ed3b675475abc01ce7e68bb75b457f0c85684
treee17c038639d97f818bf2d3d19696d929320aa1e8
parent3e8f32e1c52ca493c862facb7a69e7c3f1f97a18
parenta84e3fab307f562312c54991e3c7386246ba3f75
Auto merge of #89285 - jackh726:issue-88862, r=nikomatsakis

Don't normalize opaque types with escaping late-bound regions

Fixes #88862

Turns out, this has some really bad perf implications in large types (issue #88862). While we technically can handle them fine, it doesn't change test output either way. For now, revert with an added benchmark. Future attempts to change this back will have to consider perf.

Needs a perf run once https://github.com/rust-lang/rustc-perf/pull/1033 is merged

r? `@nikomatsakis`
compiler/rustc_trait_selection/src/traits/project.rs