rustc_ty_utils::ty

Function sized_constraint_for_ty

Source
fn sized_constraint_for_ty<'tcx>(
    tcx: TyCtxt<'tcx>,
    ty: Ty<'tcx>,
) -> Option<Ty<'tcx>>