about summary refs log tree commit diff
path: root/src/test/run-pass/thinlto
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2016-10-16 04:22:21 -0700
committerGitHub <noreply@github.com>2016-10-16 04:22:21 -0700
commit6572a463116a31efba8bfddb2e64ed659311b8a1 (patch)
tree835cbaae4e34a7c09d878ad3b41e35d506d8334c /src/test/run-pass/thinlto
parent6dc035ed911672c6a1f7afc9eed15fb08e574e5b (diff)
parentee338c31fe1185848ad1aecfb39b4d3ff149a306 (diff)
downloadrust-6572a463116a31efba8bfddb2e64ed659311b8a1.tar.gz
rust-6572a463116a31efba8bfddb2e64ed659311b8a1.zip
Auto merge of #37129 - arielb1:erased-normal, r=eddyb
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).

r? @eddyb
Diffstat (limited to 'src/test/run-pass/thinlto')
0 files changed, 0 insertions, 0 deletions