Enum rustc_typeck::middle::resolve_lifetime::LifetimeScopeForPath [−][src]
Expand description
This is used in diagnostics to improve suggestions for missing generic arguments.
It gives information on the type of lifetimes that are in scope for a particular PathSegment,
so that we can e.g. suggest elided-lifetimes-in-paths of the form <’, ’> e.g.
Variants
NonElided(Vec<String, Global>)
Elided
Auto Trait Implementations
impl RefUnwindSafe for LifetimeScopeForPath
impl Send for LifetimeScopeForPath
impl Sync for LifetimeScopeForPath
impl Unpin for LifetimeScopeForPath
impl UnwindSafe for LifetimeScopeForPath
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 24 bytes
Size for each variant:
NonElided: 24 bytesElided: 0 bytes