diff options
| author | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2016-10-13 00:08:11 +0300 |
|---|---|---|
| committer | Ariel Ben-Yehuda <ariel.byd@gmail.com> | 2016-10-13 19:17:53 +0300 |
| commit | ee338c31fe1185848ad1aecfb39b4d3ff149a306 (patch) | |
| tree | a09c7d31b2f6ebc0a57f8c026026f0e47d927f26 /src/test/run-pass/thinlto | |
| parent | 68ca911d8f6ca9d9be2581e7c117636c14d9cb8e (diff) | |
| download | rust-ee338c31fe1185848ad1aecfb39b4d3ff149a306.tar.gz rust-ee338c31fe1185848ad1aecfb39b4d3ff149a306.zip | |
normalize types every time HR regions are erased
Associated type normalization is inhibited by higher-ranked regions. Therefore, every time we erase them, we must re-normalize. I was meaning to introduce this change some time ago, but we used to erase regions in generic context, which broke this terribly (because you can't always normalize in a generic context). That seems to be gone now. Ensure this by having a `erase_late_bound_regions_and_normalize` function. Fixes #37109 (the missing call was in mir::block).
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions
