Skip to content

Commit 29813cf

Browse files
committed
w
1 parent 53de837 commit 29813cf

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_passes/src/layout_test.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -114,7 +114,7 @@ fn dump_layout_of(tcx: TyCtxt<'_>, item_def_id: LocalDefId, attr: &Attribute) {
114114

115115
sym::debug => {
116116
let normalized_ty =
117-
format!("{}", tcx.normalize_erasing_regions(typing_env, ty,));
117+
format!("{}", tcx.normalize_erasing_regions(typing_env, ty));
118118
// FIXME: using the `Debug` impl here isn't ideal.
119119
let ty_layout = format!("{:#?}", *ty_layout);
120120
tcx.dcx().emit_err(LayoutOf { span, normalized_ty, ty_layout });

0 commit comments

Comments
 (0)