Struct rustc_mir::borrow_check::diagnostics::region_errors::ErrorConstraintInfo [−][src]
pub struct ErrorConstraintInfo {
pub(super) fr: RegionVid,
pub(super) fr_is_local: bool,
pub(super) outlived_fr: RegionVid,
pub(super) outlived_fr_is_local: bool,
pub(super) category: ConstraintCategory,
pub(super) span: Span,
}Expand description
Information about the various region constraints involved in a borrow checker error.
Fields
fr: RegionVidfr_is_local: booloutlived_fr: RegionVidoutlived_fr_is_local: boolcategory: ConstraintCategoryspan: SpanTrait Implementations
Auto Trait Implementations
impl RefUnwindSafe for ErrorConstraintInfoimpl !Send for ErrorConstraintInfoimpl !Sync for ErrorConstraintInfoimpl Unpin for ErrorConstraintInfoimpl UnwindSafe for ErrorConstraintInfoBlanket 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: 32 bytes