about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2020-10-16 02:27:49 +0000
committerbors <bors@rust-lang.org>2020-10-16 02:27:49 +0000
commit9bd740a8f17d75168b683bcfb077b6e450047df5 (patch)
tree3c2aeb9bdd39f11225d25994bd444c52cc2d9472 /compiler/rustc_codegen_llvm/src
parentb6e2dc6cdece6b498b876bc7e9377ff7d63d93e7 (diff)
parentdb547520822eaa8cde18be0788cbad144c67b636 (diff)
downloadrust-9bd740a8f17d75168b683bcfb077b6e450047df5.tar.gz
rust-9bd740a8f17d75168b683bcfb077b6e450047df5.zip
Auto merge of #77947 - tmiasko:promoted-scope, r=oli-obk
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