Enum rustc::infer::region_inference::RegionResolutionError   
                   
                       [−]
                   
               [src]
pub enum RegionResolutionError<'tcx> {
    ConcreteFailure(SubregionOrigin<'tcx>, Region, Region),
    GenericBoundFailure(SubregionOrigin<'tcx>, GenericKind<'tcx>, Region),
    SubSupConflict(RegionVariableOrigin, SubregionOrigin<'tcx>, Region, SubregionOrigin<'tcx>, Region),
    ProcessedErrors(Vec<ProcessedErrorOrigin<'tcx>>, Vec<SameRegions>),
}Unstable (
rustc_private)Variants
ConcreteFailure(SubregionOrigin<'tcx>, Region, Region)Unstable (
rustc_private)ConcreteFailure(o, a, b):
o requires that a <= b, but this does not hold
GenericBoundFailure(SubregionOrigin<'tcx>, GenericKind<'tcx>, Region)Unstable (
rustc_private)`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, SubregionOrigin<'tcx>, Region)Unstable (
rustc_private)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.
ProcessedErrors(Vec<ProcessedErrorOrigin<'tcx>>, Vec<SameRegions>)Unstable (
rustc_private)For subsets of ConcreteFailure and SubSupConflict, we can derive
more specific errors message by suggesting to the user where they
should put a lifetime. In those cases we process and put those errors
into ProcessedErrors before we do any reporting.
Trait Implementations
Derived Implementations
impl<'tcx> Debug for RegionResolutionError<'tcx>[src]
impl<'tcx> Clone for 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
Performs copy-assignment from source. Read more