Enum rustc::infer::RegionVariableOrigin [−][src]
pub enum RegionVariableOrigin { MiscVariable(Span), PatternRegion(Span), AddrOfRegion(Span), Autoref(Span), Coercion(Span), EarlyBoundRegion(Span, InternedString), LateBoundRegion(Span, BoundRegion, LateBoundRegionConversionTime), UpvarRegion(UpvarId, Span), BoundRegionInCoherence(Name), NLL(NLLRegionVariableOrigin), }
🔬 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?
Reasons to create a region inference variable
See error_reporting
module for more details
Variants
MiscVariable(Span)
🔬 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?
PatternRegion(Span)
🔬 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?
AddrOfRegion(Span)
🔬 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?
Autoref(Span)
🔬 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?
Coercion(Span)
🔬 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?
EarlyBoundRegion(Span, InternedString)
🔬 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?
LateBoundRegion(Span, BoundRegion, LateBoundRegionConversionTime)
🔬 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?
UpvarRegion(UpvarId, Span)
🔬 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?
BoundRegionInCoherence(Name)
🔬 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?
NLL(NLLRegionVariableOrigin)
🔬 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?
Methods
impl RegionVariableOrigin
[src]
impl RegionVariableOrigin
pub fn span(&self) -> Span
[src]
pub fn span(&self) -> Span
🔬 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 Copy for RegionVariableOrigin
[src]
impl Copy for RegionVariableOrigin
impl Clone for RegionVariableOrigin
[src]
impl Clone for RegionVariableOrigin
fn clone(&self) -> RegionVariableOrigin
[src]
fn clone(&self) -> RegionVariableOrigin
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 Debug for RegionVariableOrigin
[src]
impl Debug for RegionVariableOrigin
Auto Trait Implementations
impl !Send for RegionVariableOrigin
impl !Send for RegionVariableOrigin
impl !Sync for RegionVariableOrigin
impl !Sync for RegionVariableOrigin