Function create_ty_and_layout

Source
pub fn create_ty_and_layout<'tcx, B: Bridge>(
    cx: &SmirCtxt<'tcx, B>,
    ty: Ty<'tcx>,
) -> Result<TyAndLayout<'tcx, Ty<'tcx>>, &'tcx LayoutError<'tcx>>