Skip to content

Commit 7260af5

Browse files
committed
promote to real assert
1 parent 83dd05f commit 7260af5

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_ty_utils/src/layout.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -60,7 +60,7 @@ fn layout_of<'tcx>(
6060
sanity_check_layout(&cx, &layout);
6161

6262
// FIXME: move this into the sanity check.
63-
debug_assert_eq!(tcx.align_of(query).unwrap(), layout.align);
63+
assert_eq!(tcx.align_of(query).unwrap(), layout.align);
6464

6565
Ok(layout)
6666
}

0 commit comments

Comments
 (0)