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
outlives: Vec<Kind<'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?
Types that are required to be alive in order for this type to be valid for destruction.
dtorck_types: 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?
Types that could not be resolved: projections and params.
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?
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]
impl<'tcx> DtorckConstraint<'tcx>
pub fn empty() -> DtorckConstraint<'tcx>
[src]
pub fn empty() -> DtorckConstraint<'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?
Trait Implementations
impl<'tcx> Clone for DtorckConstraint<'tcx>
[src]
impl<'tcx> Clone for DtorckConstraint<'tcx>
fn clone(&self) -> DtorckConstraint<'tcx>
[src]
fn clone(&self) -> DtorckConstraint<'tcx>
Returns a copy of the value. Read more
fn clone_from(&mut self, source: &Self)
1.0.0[src]
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from source
. Read more
impl<'tcx> Debug for DtorckConstraint<'tcx>
[src]
impl<'tcx> Debug for DtorckConstraint<'tcx>
fn fmt(&self, __arg_0: &mut Formatter) -> Result
[src]
fn fmt(&self, __arg_0: &mut Formatter) -> Result
Formats the value using the given formatter. Read more
impl<'tcx> FromIterator<DtorckConstraint<'tcx>> for DtorckConstraint<'tcx>
[src]
impl<'tcx> FromIterator<DtorckConstraint<'tcx>> for DtorckConstraint<'tcx>
fn from_iter<I: IntoIterator<Item = DtorckConstraint<'tcx>>>(iter: I) -> Self
[src]
fn from_iter<I: IntoIterator<Item = DtorckConstraint<'tcx>>>(iter: I) -> Self
Creates a value from an iterator. Read more
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for DtorckConstraint<'tcx>
[src]
impl<'a, 'tcx> HashStable<StableHashingContext<'a>> for DtorckConstraint<'tcx>
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)
[src]
fn hash_stable<W: StableHasherResult>(
&self,
__ctx: &mut StableHashingContext<'a>,
__hasher: &mut StableHasher<W>
)
🔬 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> !Send for DtorckConstraint<'tcx>
impl<'tcx> !Sync for DtorckConstraint<'tcx>
impl<'tcx> !Sync for DtorckConstraint<'tcx>