diff options
| author | bors <bors@rust-lang.org> | 2020-10-16 02:27:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2020-10-16 02:27:49 +0000 |
| commit | 9bd740a8f17d75168b683bcfb077b6e450047df5 (patch) | |
| tree | 3c2aeb9bdd39f11225d25994bd444c52cc2d9472 /compiler/rustc_codegen_llvm/src | |
| parent | b6e2dc6cdece6b498b876bc7e9377ff7d63d93e7 (diff) | |
| parent | db547520822eaa8cde18be0788cbad144c67b636 (diff) | |
| download | rust-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
