Function rustc_traits::dropck_outlives::adt_dtorck_constraint [−][src]
fn adt_dtorck_constraint<'a, 'tcx>(
tcx: TyCtxt<'a, 'tcx, 'tcx>,
def_id: DefId
) -> 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?
Calculates the dtorck constraint for a type.