Struct rustc::traits::query::dropck_outlives::DtorckConstraint[][src]

pub struct DtorckConstraint<'tcx> {
    pub outlives: Vec<Kind<'tcx>>,
    pub dtorck_types: Vec<Ty<'tcx>>,
    pub overflows: Vec<Ty<'tcx>>,
}
🔬 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?

A set of constraints that need to be satisfied in order for a type to be valid for destruction.

Fields

🔬 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?

Types that are required to be alive in order for this type to be valid for destruction.

🔬 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?

Types that could not be resolved: projections and params.

🔬 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?

If, during the computation of the dtorck constraint, we overflow, that gets recorded here. The caller is expected to report an error.

Methods

impl<'tcx> DtorckConstraint<'tcx>
[src]

🔬 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?

Trait Implementations

impl<'tcx> Clone for DtorckConstraint<'tcx>
[src]

Returns a copy of the value. Read more

Performs copy-assignment from source. Read more

impl<'tcx> Debug for DtorckConstraint<'tcx>
[src]

Formats the value using the given formatter. Read more

impl<'tcx> FromIterator<DtorckConstraint<'tcx>> for DtorckConstraint<'tcx>
[src]

Creates a value from an iterator. Read more

impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for DtorckConstraint<'tcx>
[src]

🔬 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?

Auto Trait Implementations

impl<'tcx> !Send for DtorckConstraint<'tcx>

impl<'tcx> !Sync for DtorckConstraint<'tcx>