We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 6f9a8a7 commit 9b5835eCopy full SHA for 9b5835e
compiler/rustc_passes/src/liveness.rs
@@ -367,7 +367,6 @@ fn visit_fn<'tcx>(
367
368
if let Some(upvars) = ir.tcx.upvars_mentioned(def_id) {
369
for (&var_hir_id, _upvar) in upvars {
370
- debug!("adding upvar {:?}", var_hir_id);
371
let var_name = ir.tcx.hir().name(var_hir_id);
372
fn_maps.add_variable(Upvar(var_hir_id, var_name));
373
}
@@ -379,7 +378,6 @@ fn visit_fn<'tcx>(
379
378
_ => false,
380
};
381
param.pat.each_binding(|_bm, hir_id, _x, ident| {
382
- debug!("adding parameters {:?}", hir_id);
383
let var = if is_shorthand {
384
Local(LocalInfo { id: hir_id, name: ident.name, is_shorthand: true })
385
} else {
0 commit comments