Function rustc_ty_utils::layout::layout_of
source ยท fn layout_of<'tcx>(
tcx: TyCtxt<'tcx>,
query: ParamEnvAnd<'tcx, Ty<'tcx>>,
) -> Result<TyAndLayout<'tcx>, &'tcx LayoutError<'tcx>>
fn layout_of<'tcx>(
tcx: TyCtxt<'tcx>,
query: ParamEnvAnd<'tcx, Ty<'tcx>>,
) -> Result<TyAndLayout<'tcx>, &'tcx LayoutError<'tcx>>