Enum rustc::infer::lexical_region_resolve::RegionResolutionError [−][src]
pub enum RegionResolutionError<'tcx> {
ConcreteFailure(SubregionOrigin<'tcx>, Region<'tcx>, Region<'tcx>),
GenericBoundFailure(SubregionOrigin<'tcx>, GenericKind<'tcx>, Region<'tcx>),
SubSupConflict(RegionVariableOrigin, SubregionOrigin<'tcx>, Region<'tcx>, SubregionOrigin<'tcx>, Region<'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?
Variants
ConcreteFailure(SubregionOrigin<'tcx>, Region<'tcx>, Region<'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?
ConcreteFailure(o, a, b):
o requires that a <= b, but this does not hold
GenericBoundFailure(SubregionOrigin<'tcx>, GenericKind<'tcx>, Region<'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?
`GenericBoundFailure(p, s, a)
The parameter/associated-type p must be known to outlive the lifetime
a (but none of the known bounds are sufficient).
SubSupConflict(RegionVariableOrigin, SubregionOrigin<'tcx>, Region<'tcx>, SubregionOrigin<'tcx>, Region<'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?
SubSupConflict(v, sub_origin, sub_r, sup_origin, sup_r):
Could not infer a value for v because sub_r <= v (due to
sub_origin) but v <= sup_r (due to sup_origin) and
sub_r <= sup_r does not hold.
Trait Implementations
impl<'tcx> Clone for RegionResolutionError<'tcx>[src]
impl<'tcx> Clone for RegionResolutionError<'tcx>fn clone(&self) -> RegionResolutionError<'tcx>[src]
fn clone(&self) -> RegionResolutionError<'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 RegionResolutionError<'tcx>[src]
impl<'tcx> Debug for RegionResolutionError<'tcx>Auto Trait Implementations
impl<'tcx> !Send for RegionResolutionError<'tcx>
impl<'tcx> !Send for RegionResolutionError<'tcx>impl<'tcx> !Sync for RegionResolutionError<'tcx>
impl<'tcx> !Sync for RegionResolutionError<'tcx>