about summary refs log tree commit diff
path: root/src/test/debuginfo/enum-thinlto.rs
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2018-02-05 09:17:00 +0000
committerbors <bors@rust-lang.org>2018-02-05 09:17:00 +0000
commitb0a396bb0af5ad7706ffa2fafdec761012df200d (patch)
treec94cb08cb72c903c809d84a54b09afb64d6dbb6a /src/test/debuginfo/enum-thinlto.rs
parent07ea2604075d6f896addce0e6949c7cf25dd3715 (diff)
parenta7646df923c62343959c0955a955ee19562da1ff (diff)
downloadrust-b0a396bb0af5ad7706ffa2fafdec761012df200d.tar.gz
rust-b0a396bb0af5ad7706ffa2fafdec761012df200d.zip
Auto merge of #47920 - Aaron1011:nll-overflow, r=pnkfelix
Fix overflow when performing drop check calculations in NLL

Clearing out the infcx's region constraints after processing each type
ends up interacting badly with normalizing associated types. This commit
keeps all region constraints intact until the end of
TypeLivenessGenerator.add_drop_live_constraint, ensuring that normalized
types are able to re-use existing inference variables.

Fixes #47589
Diffstat (limited to 'src/test/debuginfo/enum-thinlto.rs')
0 files changed, 0 insertions, 0 deletions