Struct rustc_mir::borrow_check::diagnostics::region_name::RegionName [−][src]
pub(crate) struct RegionName {
pub(crate) name: Symbol,
pub(crate) source: RegionNameSource,
}Expand description
A name for a particular region used in emitting diagnostics. This name could be a generated
name like '1, a name used by the user like 'a, or a name like 'static.
Fields
name: SymbolThe name of the region (interned).
source: RegionNameSourceWhere the region comes from.
Implementations
Trait Implementations
Auto Trait Implementations
impl RefUnwindSafe for RegionNameimpl !Send for RegionNameimpl !Sync for RegionNameimpl Unpin for RegionNameimpl UnwindSafe for RegionNameBlanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may be different between compiler versions and platforms. 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: 80 bytes