diff options
| author | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-10-14 00:00:00 +0000 |
|---|---|---|
| committer | Tomasz Miąsko <tomasz.miasko@gmail.com> | 2020-10-14 00:00:00 +0000 |
| commit | db547520822eaa8cde18be0788cbad144c67b636 (patch) | |
| tree | 1cabc04892b59804e44715d4b82c472eb9be23bf /compiler/rustc_codegen_llvm/src | |
| parent | 5565241f65cf402c3dbcb55dd492f172c473d4ce (diff) | |
| download | rust-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
