about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-08-22 11:42:36 +0000
committerbors <bors@rust-lang.org>2015-08-22 11:42:36 +0000
commit5e5b99f47f4d96d2e3fabd05dc5a128a41245187 (patch)
treecad67fd3c8f4bb99a5a8c4197254a71e53b882df /src/rustllvm/RustWrapper.cpp
parent94ee3b5a54a9f4965b82f5e4eda512966e96ac63 (diff)
parent81eab1cab6e96b4430409245b83cc51cd40c2f9f (diff)
downloadrust-5e5b99f47f4d96d2e3fabd05dc5a128a41245187.tar.gz
rust-5e5b99f47f4d96d2e3fabd05dc5a128a41245187.zip
Auto merge of #27892 - nikomatsakis:issue-27583, r=pnkfelix
Issue #27583 was caused by the fact that `LUB('a,'b)` yielded `'static`, even if there existed a region `'tcx:'a+'b`. This PR replaces the old very hacky code for computing how free regions relate to one another with something rather more robust. This solves the issue for #27583, though I think that similar bizarro bugs can no doubt arise in other ways -- the root of the problem is that the region-inference code was written in an era when a LUB always existed, but that hasn't held for some time. To *truly* solve this problem, it needs to be generalized to cope with that reality. But let's leave that battle for another day.

r? @aturon 
Diffstat (limited to 'src/rustllvm/RustWrapper.cpp')
0 files changed, 0 insertions, 0 deletions