Function rustc_middle::ty::layout_sanity_check::sanity_check_layout
source · pub(super) fn sanity_check_layout<'tcx>(
cx: &LayoutCx<'tcx, TyCtxt<'tcx>>,
layout: &TyAndLayout<'tcx>
)
Expand description
Enforce some basic invariants on layouts.