Enum rustc::infer::RegionVariableOrigin
[−]
[src]
pub enum RegionVariableOrigin {
MiscVariable(Span),
PatternRegion(Span),
AddrOfRegion(Span),
Autoref(Span),
Coercion(Span),
EarlyBoundRegion(Span, Name),
LateBoundRegion(Span, BoundRegion, LateBoundRegionConversionTime),
UpvarRegion(UpvarId, Span),
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(Span, Name)Unstable (
rustc_private)LateBoundRegion(Span, BoundRegion, LateBoundRegionConversionTime)Unstable (
rustc_private)UpvarRegion(UpvarId, Span)Unstable (
rustc_private)BoundRegionInCoherence(Name)Unstable (
rustc_private)Methods
impl RegionVariableOrigin[src]
Trait Implementations
Derived Implementations
impl Debug for RegionVariableOrigin[src]
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