diff options
| author | bors <bors@rust-lang.org> | 2019-03-02 04:39:02 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2019-03-02 04:39:02 +0000 |
| commit | a21d82438b72a0394a670b6bfe95e3e62ee08802 (patch) | |
| tree | bd26f65431b76f3432fdbcbfc24d9836b2e83763 /src/rustllvm/RustWrapper.cpp | |
| parent | d987b46bd7e81eb761a06252efb35b6d932a62f5 (diff) | |
| parent | 3b93d71fd200d5f2f39f1c4a7a4b09cb19ff64be (diff) | |
| download | rust-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
