about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2020-10-14 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2020-10-14 00:00:00 +0000
commitdb547520822eaa8cde18be0788cbad144c67b636 (patch)
tree1cabc04892b59804e44715d4b82c472eb9be23bf /compiler/rustc_codegen_llvm/src
parent5565241f65cf402c3dbcb55dd492f172c473d4ce (diff)
downloadrust-db547520822eaa8cde18be0788cbad144c67b636.tar.gz
rust-db547520822eaa8cde18be0788cbad144c67b636.zip
Create a single source scope for promoteds
A promoted inherits all scopes from the parent body.  At the same time,
almost all statements and terminators inside the promoted body so far
refer only to one of those scopes: the outermost one.

Instead of inheriting all scopes, inherit only a single scope
corresponding to the location of the promoted, making sure that there
are no references to other scopes.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions