about summary refs log tree commit diff
path: root/src/rustllvm/ExecutionEngineWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-04-08 12:57:58 +0000
committerbors <bors@rust-lang.org>2015-04-08 12:57:58 +0000
commit9266d599f4f2367bbc3a5a76a9ce3251da8a1736 (patch)
treebca22711b9fd98d6e1c57dbf04f72f8d3f0fbd75 /src/rustllvm/ExecutionEngineWrapper.cpp
parent926f38e588bb99aff1902fa94ab82b1db89cbbce (diff)
parent86c5faf42bea29da18c82ab0af29b3a8428c5a44 (diff)
downloadrust-9266d599f4f2367bbc3a5a76a9ce3251da8a1736.tar.gz
rust-9266d599f4f2367bbc3a5a76a9ce3251da8a1736.zip
Auto merge of #24021 - pnkfelix:fn-params-outlive-body, r=nikomatsakis
Encode more precise scoping rules for function params

Function params outlive everything in the body (incl temporaries).  Thus if we assign them their own `CodeExtent`, the region inference can properly show that it is sound to have temporaries with destructors that reference the parameters (because such temporaries will be dropped before the parameters are dropped).

Fix #23338 
Diffstat (limited to 'src/rustllvm/ExecutionEngineWrapper.cpp')
0 files changed, 0 insertions, 0 deletions