about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2019-03-02 04:39:02 +0000
committerbors <bors@rust-lang.org>2019-03-02 04:39:02 +0000
commita21d82438b72a0394a670b6bfe95e3e62ee08802 (patch)
treebd26f65431b76f3432fdbcbfc24d9836b2e83763 /src/rustllvm/RustWrapper.cpp
parentd987b46bd7e81eb761a06252efb35b6d932a62f5 (diff)
parent3b93d71fd200d5f2f39f1c4a7a4b09cb19ff64be (diff)
downloadrust-a21d82438b72a0394a670b6bfe95e3e62ee08802.tar.gz
rust-a21d82438b72a0394a670b6bfe95e3e62ee08802.zip
Auto merge of #57202 - matthewjasper:nll-typeck-promoteds, r=pnkfelix
Include bounds from promoted constants in NLL

Previously a promoted function wouldn't have its bound propagated out to
the main function body.

When we visit a promoted, we now type check the MIR of the promoted
and transfer any lifetime constraints to back to the main function's MIR.

Fixes #57170

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