Skip to content

Commit bcbd183

Browse files
Remove unused temp.
Co-authored-by: Wesley Wiser <wwiser@gmail.com>
1 parent 389c604 commit bcbd183

File tree

1 file changed

+1
-2
lines changed
  • compiler/rustc_mir_build/src/build

1 file changed

+1
-2
lines changed

compiler/rustc_mir_build/src/build/mod.rs

+1-2
Original file line numberDiff line numberDiff line change
@@ -984,11 +984,10 @@ impl<'a, 'tcx> Builder<'a, 'tcx> {
984984
}
985985
};
986986

987-
let env_place = Place {
987+
let use_place = Place {
988988
local: ty::CAPTURE_STRUCT_LOCAL,
989989
projection: tcx.intern_place_elems(&projs),
990990
};
991-
let use_place = env_place;
992991
self.var_debug_info.push(VarDebugInfo {
993992
name: *sym,
994993
source_info: SourceInfo::outermost(tcx_hir.span(var_id)),

0 commit comments

Comments
 (0)