about summary refs log tree commit diff
path: root/src/rustllvm/RustWrapper.cpp
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2015-12-16 22:53:19 +0000
committerbors <bors@rust-lang.org>2015-12-16 22:53:19 +0000
commit4af427881405f95b8d87efea844cbd695fb55986 (patch)
tree919c4c9a0d414809dfb1227197df7249db06594a /src/rustllvm/RustWrapper.cpp
parent38da1a406472cf3c675c70fe2c0b1c665fce4b16 (diff)
parent5299441954b4678f23f3c0c0b2080b3430a2d028 (diff)
downloadrust-4af427881405f95b8d87efea844cbd695fb55986.tar.gz
rust-4af427881405f95b8d87efea844cbd695fb55986.zip
Auto merge of #30341 - pnkfelix:call-site-scope, r=nikomatsakis
Ensure borrows of fn/closure params do not outlive invocations.

Does this by adding a new CallSiteScope to the region (or rather code extent) hierarchy, which outlives even the ParameterScope (which in turn outlives the DestructionScope of a fn/closure's body).

Fix #29793

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