debuginfo: Refactor debuginfo generation for types -- Run x.py fmt

This commit is contained in:
Michael Woerister
2022-03-03 12:45:35 +01:00
parent 5144661d6b
commit 07a1194edf
3 changed files with 13 additions and 39 deletions

View File

@@ -1022,9 +1022,11 @@ fn build_upvar_field_di_nodes<'ll, 'tcx>(
}
};
debug_assert!(up_var_tys
.iter()
.all(|&t| t == cx.tcx.normalize_erasing_regions(ParamEnv::reveal_all(), t)));
debug_assert!(
up_var_tys
.iter()
.all(|&t| t == cx.tcx.normalize_erasing_regions(ParamEnv::reveal_all(), t))
);
let capture_names = closure_saved_names_of_captured_variables(cx.tcx, def_id);
let layout = cx.layout_of(closure_or_generator_ty);