pub enum PlaceholderRelationLfNotSatisfied {
HasBoth {
span: Span,
sub_span: Span,
sup_span: Span,
sub_symbol: Symbol,
sup_symbol: Symbol,
note: (),
},
HasSub {
span: Span,
sub_span: Span,
sup_span: Span,
sub_symbol: Symbol,
note: (),
},
HasSup {
span: Span,
sub_span: Span,
sup_span: Span,
sup_symbol: Symbol,
note: (),
},
HasNone {
span: Span,
sub_span: Span,
sup_span: Span,
note: (),
},
OnlyPrimarySpan {
span: Span,
note: (),
},
}Variants§
Trait Implementations§
source§impl<'_sess, G> IntoDiagnostic<'_sess, G> for PlaceholderRelationLfNotSatisfiedwhere
G: EmissionGuarantee,
impl<'_sess, G> IntoDiagnostic<'_sess, G> for PlaceholderRelationLfNotSatisfiedwhere
G: EmissionGuarantee,
source§fn into_diagnostic(
self,
dcx: &'_sess DiagCtxt,
level: Level
) -> DiagnosticBuilder<'_sess, G>
fn into_diagnostic( self, dcx: &'_sess DiagCtxt, level: Level ) -> DiagnosticBuilder<'_sess, G>
Write out as a diagnostic out of
DiagCtxt.Auto Trait Implementations§
impl RefUnwindSafe for PlaceholderRelationLfNotSatisfied
impl Send for PlaceholderRelationLfNotSatisfied
impl Sync for PlaceholderRelationLfNotSatisfied
impl Unpin for PlaceholderRelationLfNotSatisfied
impl UnwindSafe for PlaceholderRelationLfNotSatisfied
Blanket Implementations§
source§impl<T> BorrowMut<T> for Twhere
T: ?Sized,
impl<T> BorrowMut<T> for Twhere
T: ?Sized,
source§fn borrow_mut(&mut self) -> &mut T
fn borrow_mut(&mut self) -> &mut T
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: 36 bytes
Size for each variant:
HasBoth: 32 bytesHasSub: 28 bytesHasSup: 28 bytesHasNone: 24 bytesOnlyPrimarySpan: 8 bytes