Function rustc_traits::dropck_outlives::dtorck_constraint_for_ty[][src]

fn dtorck_constraint_for_ty<'a, 'gcx, 'tcx>(
    tcx: TyCtxt<'a, 'gcx, 'tcx>,
    span: Span,
    for_ty: Ty<'tcx>,
    depth: usize,
    ty: Ty<'tcx>
) -> Result<DtorckConstraint<'tcx>, NoSolution>
🔬 This is a nightly-only experimental API. (rustc_private)

this crate is being loaded from the sysroot, an unstable location; did you mean to load this crate from crates.io via Cargo.toml instead?

Return a set of constraints that needs to be satisfied in order for ty to be valid for destruction.