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 83dd05f commit 7260af5Copy full SHA for 7260af5
compiler/rustc_ty_utils/src/layout.rs
@@ -60,7 +60,7 @@ fn layout_of<'tcx>(
60
sanity_check_layout(&cx, &layout);
61
62
// FIXME: move this into the sanity check.
63
- debug_assert_eq!(tcx.align_of(query).unwrap(), layout.align);
+ assert_eq!(tcx.align_of(query).unwrap(), layout.align);
64
65
Ok(layout)
66
}
0 commit comments