pub struct ErrorConstraintInfo<'tcx> {
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<'tcx>,
pub(super) span: Span,
}
Expand description
Information about the various region constraints involved in a borrow checker error.
Fields§
§fr: RegionVid
§fr_is_local: bool
§outlived_fr: RegionVid
§outlived_fr_is_local: bool
§category: ConstraintCategory<'tcx>
§span: Span
Trait Implementations§
source§impl<'tcx> Clone for ErrorConstraintInfo<'tcx>
impl<'tcx> Clone for ErrorConstraintInfo<'tcx>
source§fn clone(&self) -> ErrorConstraintInfo<'tcx>
fn clone(&self) -> ErrorConstraintInfo<'tcx>
Returns a copy of the value. Read more
1.0.0 · source§fn clone_from(&mut self, source: &Self)
fn clone_from(&mut self, source: &Self)
Performs copy-assignment from
source
. Read moreAuto Trait Implementations§
impl<'tcx> !RefUnwindSafe for ErrorConstraintInfo<'tcx>
impl<'tcx> !Send for ErrorConstraintInfo<'tcx>
impl<'tcx> !Sync for ErrorConstraintInfo<'tcx>
impl<'tcx> Unpin for ErrorConstraintInfo<'tcx>
impl<'tcx> !UnwindSafe for ErrorConstraintInfo<'tcx>
Blanket Implementations§
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: 40 bytes