Function rustc_ty_utils::layout_sanity_check::sanity_check_layout
source ยท pub(crate) fn sanity_check_layout<'tcx>(
cx: &LayoutCx<'tcx, TyCtxt<'tcx>>,
layout: &TyAndLayout<'tcx>,
)
Expand description
Enforce some basic invariants on layouts.