pub struct NegativePositiveConflict<'tcx> {
pub impl_span: Span,
pub trait_desc: TraitRef<'tcx>,
pub self_ty: Option<Ty<'tcx>>,
pub negative_impl_span: Result<Span, Symbol>,
pub positive_impl_span: Result<Span, Symbol>,
}
Fields§
§impl_span: Span
§trait_desc: TraitRef<'tcx>
§self_ty: Option<Ty<'tcx>>
§negative_impl_span: Result<Span, Symbol>
§positive_impl_span: Result<Span, Symbol>
Trait Implementations§
source§impl IntoDiagnostic<'_, ErrorGuaranteed> for NegativePositiveConflict<'_>
impl IntoDiagnostic<'_, ErrorGuaranteed> for NegativePositiveConflict<'_>
source§fn into_diagnostic(
self,
handler: &Handler
) -> DiagnosticBuilder<'_, ErrorGuaranteed>
fn into_diagnostic(
self,
handler: &Handler
) -> DiagnosticBuilder<'_, ErrorGuaranteed>
Write out as a diagnostic out of
Handler
.Auto Trait Implementations§
impl<'tcx> !RefUnwindSafe for NegativePositiveConflict<'tcx>
impl<'tcx> !Send for NegativePositiveConflict<'tcx>
impl<'tcx> !Sync for NegativePositiveConflict<'tcx>
impl<'tcx> Unpin for NegativePositiveConflict<'tcx>
impl<'tcx> !UnwindSafe for NegativePositiveConflict<'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: 56 bytes