Enum rustc::infer::RegionVariableOrigin [] [src]

pub enum RegionVariableOrigin {
    MiscVariable(Span),
    PatternRegion(Span),
    AddrOfRegion(Span),
    Autoref(Span),
    Coercion(Span),
    EarlyBoundRegion(SpanName),
    LateBoundRegion(SpanBoundRegionLateBoundRegionConversionTime),
    UpvarRegion(UpvarIdSpan),
    BoundRegionInCoherence(Name),
}
Unstable (rustc_private)
[]

Reasons to create a region inference variable

See error_reporting.rs for more details

Variants

MiscVariable(Span)
Unstable (rustc_private)
PatternRegion(Span)
Unstable (rustc_private)
AddrOfRegion(Span)
Unstable (rustc_private)
Autoref(Span)
Unstable (rustc_private)
Coercion(Span)
Unstable (rustc_private)
EarlyBoundRegion(SpanName)
Unstable (rustc_private)
LateBoundRegion(SpanBoundRegionLateBoundRegionConversionTime)
Unstable (rustc_private)
UpvarRegion(UpvarIdSpan)
Unstable (rustc_private)
BoundRegionInCoherence(Name)
Unstable (rustc_private)

Methods

impl RegionVariableOrigin
[src]

fn span(&self) -> Span

Trait Implementations

Derived Implementations

impl Debug for RegionVariableOrigin
[src]

fn fmt(&self, __arg_0: &mut Formatter) -> Result[]

Formats the value using the given formatter.

impl Clone for RegionVariableOrigin
[src]

fn clone(&self) -> RegionVariableOrigin[]

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