pub(crate) fn sanity_check_layout<'tcx>(
cx: &LayoutCx<'tcx>,
layout: &TyAndLayout<'tcx>,
)Expand description
Enforce some basic invariants on layouts.
pub(crate) fn sanity_check_layout<'tcx>(
cx: &LayoutCx<'tcx>,
layout: &TyAndLayout<'tcx>,
)Enforce some basic invariants on layouts.