about summary refs log tree commit diff
path: root/src/rustllvm/PassWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2017-07-28 12:55:12 +0000
committerbors <bors@rust-lang.org>2017-07-28 12:55:12 +0000
commite2b5d7e6b37208b241d5aacd77cb245b362c7ff5 (patch)
treec25d6a0bf2ccf232ae08278a899c249f051a2ded /src/rustllvm/PassWrapper.cpp
parent6f815ca771b59fe652a5f88f198810b5dc37a4c9 (diff)
parent4b9acad7c66c9e9cb8f585ff7446872eec5c33de (diff)
downloadrust-e2b5d7e6b37208b241d5aacd77cb245b362c7ff5.tar.gz
rust-e2b5d7e6b37208b241d5aacd77cb245b362c7ff5.zip
Auto merge of #43324 - Nashenas88:visit_locations, r=arielb1
Provide positional information when visiting ty, substs and closure_substs in MIR

This will enable the region renumbering portion of #43234 (non-lexical lifetimes). @nikomatsakis's current plan [here](https://gist.github.com/nikomatsakis/dfc27b28cd024eb25054b52bb11082f2) shows that we need spans of the original code to create new region variables, e.g. `self.infcx.next_region_var(infer::MiscVariable(span))`. The current visitor impls did not pass positional information (`Location` in some, `Span` and `SourceInfo` for others) for all types. I did not expand this to all visits, just the ones necessary for the above-mentioned plan.
Diffstat (limited to 'src/rustllvm/PassWrapper.cpp')
0 files changed, 0 insertions, 0 deletions