about summary refs log tree commit diff
path: root/compiler/rustc_mir_transform/src/coverage/debug.rs
diff options
context:
space:
mode:
authorTomasz Miąsko <tomasz.miasko@gmail.com>2022-08-06 00:00:00 +0000
committerTomasz Miąsko <tomasz.miasko@gmail.com>2022-08-06 11:14:57 +0200
commit18a21e13b49320bc20836d5d20da82375fac2bbd (patch)
tree109d28b3f434ed1bc59be1d9024d29a661fca2c1 /compiler/rustc_mir_transform/src/coverage/debug.rs
parent55f46419afd2e49acfc6be176ad4aeadaa5686d7 (diff)
downloadrust-18a21e13b49320bc20836d5d20da82375fac2bbd.tar.gz
rust-18a21e13b49320bc20836d5d20da82375fac2bbd.zip
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`.
Diffstat (limited to 'compiler/rustc_mir_transform/src/coverage/debug.rs')
0 files changed, 0 insertions, 0 deletions