rustc_traits::dropck_outlives

Function adt_dtorck_constraint

source
pub(crate) fn adt_dtorck_constraint(
    tcx: TyCtxt<'_>,
    def_id: DefId,
) -> Result<&DropckConstraint<'_>, NoSolution>
Expand description

Calculates the dtorck constraint for a type.