pub enum ActualImplExplNotes<'tcx> {
Show 15 variants ExpectedSignatureTwo { leading_ellipsis: bool, ty_or_sig: TyOrSig<'tcx>, trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>, lifetime_1: usize, lifetime_2: usize, }, ExpectedSignatureAny { leading_ellipsis: bool, ty_or_sig: TyOrSig<'tcx>, trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>, lifetime_1: usize, }, ExpectedSignatureSome { leading_ellipsis: bool, ty_or_sig: TyOrSig<'tcx>, trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>, lifetime_1: usize, }, ExpectedSignatureNothing { leading_ellipsis: bool, ty_or_sig: TyOrSig<'tcx>, trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>, }, ExpectedPassiveTwo { leading_ellipsis: bool, ty_or_sig: TyOrSig<'tcx>, trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>, lifetime_1: usize, lifetime_2: usize, }, ExpectedPassiveAny { leading_ellipsis: bool, ty_or_sig: TyOrSig<'tcx>, trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>, lifetime_1: usize, }, ExpectedPassiveSome { leading_ellipsis: bool, ty_or_sig: TyOrSig<'tcx>, trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>, lifetime_1: usize, }, ExpectedPassiveNothing { leading_ellipsis: bool, ty_or_sig: TyOrSig<'tcx>, trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>, }, ExpectedOtherTwo { leading_ellipsis: bool, ty_or_sig: TyOrSig<'tcx>, trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>, lifetime_1: usize, lifetime_2: usize, }, ExpectedOtherAny { leading_ellipsis: bool, ty_or_sig: TyOrSig<'tcx>, trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>, lifetime_1: usize, }, ExpectedOtherSome { leading_ellipsis: bool, ty_or_sig: TyOrSig<'tcx>, trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>, lifetime_1: usize, }, ExpectedOtherNothing { leading_ellipsis: bool, ty_or_sig: TyOrSig<'tcx>, trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>, }, ButActuallyImplementsTrait { trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>, has_lifetime: bool, lifetime: usize, }, ButActuallyImplementedForTy { trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>, has_lifetime: bool, lifetime: usize, ty: String, }, ButActuallyTyImplements { trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>, has_lifetime: bool, lifetime: usize, ty: String, },
}

Variants§

§

ExpectedSignatureTwo

Fields

§leading_ellipsis: bool
§ty_or_sig: TyOrSig<'tcx>
§trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>
§lifetime_1: usize
§lifetime_2: usize
§

ExpectedSignatureAny

Fields

§leading_ellipsis: bool
§ty_or_sig: TyOrSig<'tcx>
§trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>
§lifetime_1: usize
§

ExpectedSignatureSome

Fields

§leading_ellipsis: bool
§ty_or_sig: TyOrSig<'tcx>
§trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>
§lifetime_1: usize
§

ExpectedSignatureNothing

Fields

§leading_ellipsis: bool
§ty_or_sig: TyOrSig<'tcx>
§trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>
§

ExpectedPassiveTwo

Fields

§leading_ellipsis: bool
§ty_or_sig: TyOrSig<'tcx>
§trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>
§lifetime_1: usize
§lifetime_2: usize
§

ExpectedPassiveAny

Fields

§leading_ellipsis: bool
§ty_or_sig: TyOrSig<'tcx>
§trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>
§lifetime_1: usize
§

ExpectedPassiveSome

Fields

§leading_ellipsis: bool
§ty_or_sig: TyOrSig<'tcx>
§trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>
§lifetime_1: usize
§

ExpectedPassiveNothing

Fields

§leading_ellipsis: bool
§ty_or_sig: TyOrSig<'tcx>
§trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>
§

ExpectedOtherTwo

Fields

§leading_ellipsis: bool
§ty_or_sig: TyOrSig<'tcx>
§trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>
§lifetime_1: usize
§lifetime_2: usize
§

ExpectedOtherAny

Fields

§leading_ellipsis: bool
§ty_or_sig: TyOrSig<'tcx>
§trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>
§lifetime_1: usize
§

ExpectedOtherSome

Fields

§leading_ellipsis: bool
§ty_or_sig: TyOrSig<'tcx>
§trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>
§lifetime_1: usize
§

ExpectedOtherNothing

Fields

§leading_ellipsis: bool
§ty_or_sig: TyOrSig<'tcx>
§trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>
§

ButActuallyImplementsTrait

Fields

§trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>
§has_lifetime: bool
§lifetime: usize
§

ButActuallyImplementedForTy

Fields

§trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>
§has_lifetime: bool
§lifetime: usize
§

ButActuallyTyImplements

Fields

§trait_path: Highlighted<'tcx, TraitRefPrintOnlyTraitPath<'tcx>>
§has_lifetime: bool
§lifetime: usize

Implementations§

Trait Implementations§

Add a subdiagnostic to an existing diagnostic where f is invoked on every message used (to optionally perform eager translation).
Add a subdiagnostic to an existing diagnostic.

Auto Trait Implementations§

Blanket Implementations§

Gets the TypeId of self. Read more
Immutably borrows from an owned value. Read more
Mutably borrows from an owned value. Read more

Returns the argument unchanged.

Calls U::from(self).

That is, this conversion is whatever the implementation of From<T> for U chooses to do.

The type returned in the event of a conversion error.
Performs the conversion.
The type returned in the event of a conversion error.
Performs the conversion.

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: 264 bytes

Size for each variant:

  • ExpectedSignatureTwo: 263 bytes
  • ExpectedSignatureAny: 255 bytes
  • ExpectedSignatureSome: 255 bytes
  • ExpectedSignatureNothing: 247 bytes
  • ExpectedPassiveTwo: 263 bytes
  • ExpectedPassiveAny: 255 bytes
  • ExpectedPassiveSome: 255 bytes
  • ExpectedPassiveNothing: 247 bytes
  • ExpectedOtherTwo: 263 bytes
  • ExpectedOtherAny: 255 bytes
  • ExpectedOtherSome: 255 bytes
  • ExpectedOtherNothing: 247 bytes
  • ButActuallyImplementsTrait: 127 bytes
  • ButActuallyImplementedForTy: 151 bytes
  • ButActuallyTyImplements: 151 bytes