about summary refs log tree commit diff
path: root/compiler/rustc_codegen_llvm/src
diff options
context:
space:
mode:
authorDylan DPC <99973273+Dylan-DPC@users.noreply.github.com>2022-08-11 22:46:59 +0530
committerGitHub <noreply@github.com>2022-08-11 22:46:59 +0530
commit32bd147f797a03922928f45bc6705daeefb7e9a4 (patch)
treeae0440255e20effc612b313c129e9c75932ae4b3 /compiler/rustc_codegen_llvm/src
parentd749914f79d0a407ba87858a740f4f4c3d3ad9a7 (diff)
parent7d2131a2048521ee1dfc41a12b2f5007effc1f26 (diff)
downloadrust-32bd147f797a03922928f45bc6705daeefb7e9a4.tar.gz
rust-32bd147f797a03922928f45bc6705daeefb7e9a4.zip
Rollup merge of #100192 - tmiasko:rm-duplicated-locals, r=nagisa
 Remove duplicated temporaries creating during box derefs elaboration

Temporaries created with `MirPatch::new_temp` will be declared after
patch application. Remove manually created duplicate declarations.

Removing duplicates exposes another issue. Visitor elaborates
terminator twice and attempts to access new, but not yet available,
local declarations. Remove duplicated call to `visit_terminator`.

Extracted from #99946.
Diffstat (limited to 'compiler/rustc_codegen_llvm/src')
0 files changed, 0 insertions, 0 deletions