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.