pub enum AnyDiagnostic<'db> {
Show 53 variants
AwaitOutsideOfAsync(Box<AwaitOutsideOfAsync>),
BreakOutsideOfLoop(Box<BreakOutsideOfLoop>),
CastToUnsized(Box<CastToUnsized<'db>>),
ExpectedFunction(Box<ExpectedFunction<'db>>),
InactiveCode(Box<InactiveCode>),
IncoherentImpl(Box<IncoherentImpl>),
IncorrectCase(Box<IncorrectCase>),
InvalidCast(Box<InvalidCast<'db>>),
InvalidDeriveTarget(Box<InvalidDeriveTarget>),
MacroDefError(Box<MacroDefError>),
MacroError(Box<MacroError>),
MacroExpansionParseError(Box<MacroExpansionParseError>),
MalformedDerive(Box<MalformedDerive>),
MismatchedArgCount(Box<MismatchedArgCount>),
MismatchedTupleStructPatArgCount(Box<MismatchedTupleStructPatArgCount>),
MissingFields(Box<MissingFields>),
MissingMatchArms(Box<MissingMatchArms>),
MissingUnsafe(Box<MissingUnsafe>),
MovedOutOfRef(Box<MovedOutOfRef<'db>>),
NeedMut(Box<NeedMut>),
NonExhaustiveLet(Box<NonExhaustiveLet>),
NoSuchField(Box<NoSuchField>),
PrivateAssocItem(Box<PrivateAssocItem>),
PrivateField(Box<PrivateField>),
RemoveTrailingReturn(Box<RemoveTrailingReturn>),
RemoveUnnecessaryElse(Box<RemoveUnnecessaryElse>),
ReplaceFilterMapNextWithFindMap(Box<ReplaceFilterMapNextWithFindMap>),
TraitImplIncorrectSafety(Box<TraitImplIncorrectSafety>),
TraitImplMissingAssocItems(Box<TraitImplMissingAssocItems>),
TraitImplOrphan(Box<TraitImplOrphan>),
TraitImplRedundantAssocItems(Box<TraitImplRedundantAssocItems>),
TypedHole(Box<TypedHole<'db>>),
TypeMismatch(Box<TypeMismatch<'db>>),
UndeclaredLabel(Box<UndeclaredLabel>),
UnimplementedBuiltinMacro(Box<UnimplementedBuiltinMacro>),
UnreachableLabel(Box<UnreachableLabel>),
UnresolvedAssocItem(Box<UnresolvedAssocItem>),
UnresolvedExternCrate(Box<UnresolvedExternCrate>),
UnresolvedField(Box<UnresolvedField<'db>>),
UnresolvedImport(Box<UnresolvedImport>),
UnresolvedMacroCall(Box<UnresolvedMacroCall>),
UnresolvedMethodCall(Box<UnresolvedMethodCall<'db>>),
UnresolvedModule(Box<UnresolvedModule>),
UnresolvedIdent(Box<UnresolvedIdent>),
UnusedMut(Box<UnusedMut>),
UnusedVariable(Box<UnusedVariable>),
GenericArgsProhibited(Box<GenericArgsProhibited>),
ParenthesizedGenericArgsWithoutFnTrait(Box<ParenthesizedGenericArgsWithoutFnTrait>),
BadRtn(Box<BadRtn>),
IncorrectGenericsLen(Box<IncorrectGenericsLen>),
IncorrectGenericsOrder(Box<IncorrectGenericsOrder>),
MissingLifetime(Box<MissingLifetime>),
ElidedLifetimesInPath(Box<ElidedLifetimesInPath>),
}
Variants§
AwaitOutsideOfAsync(Box<AwaitOutsideOfAsync>)
BreakOutsideOfLoop(Box<BreakOutsideOfLoop>)
CastToUnsized(Box<CastToUnsized<'db>>)
ExpectedFunction(Box<ExpectedFunction<'db>>)
InactiveCode(Box<InactiveCode>)
IncoherentImpl(Box<IncoherentImpl>)
IncorrectCase(Box<IncorrectCase>)
InvalidCast(Box<InvalidCast<'db>>)
InvalidDeriveTarget(Box<InvalidDeriveTarget>)
MacroDefError(Box<MacroDefError>)
MacroError(Box<MacroError>)
MacroExpansionParseError(Box<MacroExpansionParseError>)
MalformedDerive(Box<MalformedDerive>)
MismatchedArgCount(Box<MismatchedArgCount>)
MismatchedTupleStructPatArgCount(Box<MismatchedTupleStructPatArgCount>)
MissingFields(Box<MissingFields>)
MissingMatchArms(Box<MissingMatchArms>)
MissingUnsafe(Box<MissingUnsafe>)
MovedOutOfRef(Box<MovedOutOfRef<'db>>)
NeedMut(Box<NeedMut>)
NonExhaustiveLet(Box<NonExhaustiveLet>)
NoSuchField(Box<NoSuchField>)
PrivateAssocItem(Box<PrivateAssocItem>)
PrivateField(Box<PrivateField>)
RemoveTrailingReturn(Box<RemoveTrailingReturn>)
RemoveUnnecessaryElse(Box<RemoveUnnecessaryElse>)
ReplaceFilterMapNextWithFindMap(Box<ReplaceFilterMapNextWithFindMap>)
TraitImplIncorrectSafety(Box<TraitImplIncorrectSafety>)
TraitImplMissingAssocItems(Box<TraitImplMissingAssocItems>)
TraitImplOrphan(Box<TraitImplOrphan>)
TraitImplRedundantAssocItems(Box<TraitImplRedundantAssocItems>)
TypedHole(Box<TypedHole<'db>>)
TypeMismatch(Box<TypeMismatch<'db>>)
UndeclaredLabel(Box<UndeclaredLabel>)
UnimplementedBuiltinMacro(Box<UnimplementedBuiltinMacro>)
UnreachableLabel(Box<UnreachableLabel>)
UnresolvedAssocItem(Box<UnresolvedAssocItem>)
UnresolvedExternCrate(Box<UnresolvedExternCrate>)
UnresolvedField(Box<UnresolvedField<'db>>)
UnresolvedImport(Box<UnresolvedImport>)
UnresolvedMacroCall(Box<UnresolvedMacroCall>)
UnresolvedMethodCall(Box<UnresolvedMethodCall<'db>>)
UnresolvedModule(Box<UnresolvedModule>)
UnresolvedIdent(Box<UnresolvedIdent>)
UnusedMut(Box<UnusedMut>)
UnusedVariable(Box<UnusedVariable>)
GenericArgsProhibited(Box<GenericArgsProhibited>)
ParenthesizedGenericArgsWithoutFnTrait(Box<ParenthesizedGenericArgsWithoutFnTrait>)
BadRtn(Box<BadRtn>)
IncorrectGenericsLen(Box<IncorrectGenericsLen>)
IncorrectGenericsOrder(Box<IncorrectGenericsOrder>)
MissingLifetime(Box<MissingLifetime>)
ElidedLifetimesInPath(Box<ElidedLifetimesInPath>)
Trait Implementations§
Source§impl<'db> Debug for AnyDiagnostic<'db>
impl<'db> Debug for AnyDiagnostic<'db>
Source§impl<'db> From<AwaitOutsideOfAsync> for AnyDiagnostic<'db>
impl<'db> From<AwaitOutsideOfAsync> for AnyDiagnostic<'db>
Source§fn from(d: AwaitOutsideOfAsync) -> AnyDiagnostic<'db>
fn from(d: AwaitOutsideOfAsync) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<BadRtn> for AnyDiagnostic<'db>
impl<'db> From<BadRtn> for AnyDiagnostic<'db>
Source§fn from(d: BadRtn) -> AnyDiagnostic<'db>
fn from(d: BadRtn) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<BreakOutsideOfLoop> for AnyDiagnostic<'db>
impl<'db> From<BreakOutsideOfLoop> for AnyDiagnostic<'db>
Source§fn from(d: BreakOutsideOfLoop) -> AnyDiagnostic<'db>
fn from(d: BreakOutsideOfLoop) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<CastToUnsized<'db>> for AnyDiagnostic<'db>
impl<'db> From<CastToUnsized<'db>> for AnyDiagnostic<'db>
Source§fn from(d: CastToUnsized<'db>) -> AnyDiagnostic<'db>
fn from(d: CastToUnsized<'db>) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<ElidedLifetimesInPath> for AnyDiagnostic<'db>
impl<'db> From<ElidedLifetimesInPath> for AnyDiagnostic<'db>
Source§fn from(d: ElidedLifetimesInPath) -> AnyDiagnostic<'db>
fn from(d: ElidedLifetimesInPath) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<ExpectedFunction<'db>> for AnyDiagnostic<'db>
impl<'db> From<ExpectedFunction<'db>> for AnyDiagnostic<'db>
Source§fn from(d: ExpectedFunction<'db>) -> AnyDiagnostic<'db>
fn from(d: ExpectedFunction<'db>) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<GenericArgsProhibited> for AnyDiagnostic<'db>
impl<'db> From<GenericArgsProhibited> for AnyDiagnostic<'db>
Source§fn from(d: GenericArgsProhibited) -> AnyDiagnostic<'db>
fn from(d: GenericArgsProhibited) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<InactiveCode> for AnyDiagnostic<'db>
impl<'db> From<InactiveCode> for AnyDiagnostic<'db>
Source§fn from(d: InactiveCode) -> AnyDiagnostic<'db>
fn from(d: InactiveCode) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<IncoherentImpl> for AnyDiagnostic<'db>
impl<'db> From<IncoherentImpl> for AnyDiagnostic<'db>
Source§fn from(d: IncoherentImpl) -> AnyDiagnostic<'db>
fn from(d: IncoherentImpl) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<IncorrectCase> for AnyDiagnostic<'db>
impl<'db> From<IncorrectCase> for AnyDiagnostic<'db>
Source§fn from(d: IncorrectCase) -> AnyDiagnostic<'db>
fn from(d: IncorrectCase) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<IncorrectGenericsLen> for AnyDiagnostic<'db>
impl<'db> From<IncorrectGenericsLen> for AnyDiagnostic<'db>
Source§fn from(d: IncorrectGenericsLen) -> AnyDiagnostic<'db>
fn from(d: IncorrectGenericsLen) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<IncorrectGenericsOrder> for AnyDiagnostic<'db>
impl<'db> From<IncorrectGenericsOrder> for AnyDiagnostic<'db>
Source§fn from(d: IncorrectGenericsOrder) -> AnyDiagnostic<'db>
fn from(d: IncorrectGenericsOrder) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<InvalidCast<'db>> for AnyDiagnostic<'db>
impl<'db> From<InvalidCast<'db>> for AnyDiagnostic<'db>
Source§fn from(d: InvalidCast<'db>) -> AnyDiagnostic<'db>
fn from(d: InvalidCast<'db>) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<InvalidDeriveTarget> for AnyDiagnostic<'db>
impl<'db> From<InvalidDeriveTarget> for AnyDiagnostic<'db>
Source§fn from(d: InvalidDeriveTarget) -> AnyDiagnostic<'db>
fn from(d: InvalidDeriveTarget) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<MacroDefError> for AnyDiagnostic<'db>
impl<'db> From<MacroDefError> for AnyDiagnostic<'db>
Source§fn from(d: MacroDefError) -> AnyDiagnostic<'db>
fn from(d: MacroDefError) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<MacroError> for AnyDiagnostic<'db>
impl<'db> From<MacroError> for AnyDiagnostic<'db>
Source§fn from(d: MacroError) -> AnyDiagnostic<'db>
fn from(d: MacroError) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<MacroExpansionParseError> for AnyDiagnostic<'db>
impl<'db> From<MacroExpansionParseError> for AnyDiagnostic<'db>
Source§fn from(d: MacroExpansionParseError) -> AnyDiagnostic<'db>
fn from(d: MacroExpansionParseError) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<MalformedDerive> for AnyDiagnostic<'db>
impl<'db> From<MalformedDerive> for AnyDiagnostic<'db>
Source§fn from(d: MalformedDerive) -> AnyDiagnostic<'db>
fn from(d: MalformedDerive) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<MismatchedArgCount> for AnyDiagnostic<'db>
impl<'db> From<MismatchedArgCount> for AnyDiagnostic<'db>
Source§fn from(d: MismatchedArgCount) -> AnyDiagnostic<'db>
fn from(d: MismatchedArgCount) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<MismatchedTupleStructPatArgCount> for AnyDiagnostic<'db>
impl<'db> From<MismatchedTupleStructPatArgCount> for AnyDiagnostic<'db>
Source§fn from(d: MismatchedTupleStructPatArgCount) -> AnyDiagnostic<'db>
fn from(d: MismatchedTupleStructPatArgCount) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<MissingFields> for AnyDiagnostic<'db>
impl<'db> From<MissingFields> for AnyDiagnostic<'db>
Source§fn from(d: MissingFields) -> AnyDiagnostic<'db>
fn from(d: MissingFields) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<MissingLifetime> for AnyDiagnostic<'db>
impl<'db> From<MissingLifetime> for AnyDiagnostic<'db>
Source§fn from(d: MissingLifetime) -> AnyDiagnostic<'db>
fn from(d: MissingLifetime) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<MissingMatchArms> for AnyDiagnostic<'db>
impl<'db> From<MissingMatchArms> for AnyDiagnostic<'db>
Source§fn from(d: MissingMatchArms) -> AnyDiagnostic<'db>
fn from(d: MissingMatchArms) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<MissingUnsafe> for AnyDiagnostic<'db>
impl<'db> From<MissingUnsafe> for AnyDiagnostic<'db>
Source§fn from(d: MissingUnsafe) -> AnyDiagnostic<'db>
fn from(d: MissingUnsafe) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<MovedOutOfRef<'db>> for AnyDiagnostic<'db>
impl<'db> From<MovedOutOfRef<'db>> for AnyDiagnostic<'db>
Source§fn from(d: MovedOutOfRef<'db>) -> AnyDiagnostic<'db>
fn from(d: MovedOutOfRef<'db>) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<NeedMut> for AnyDiagnostic<'db>
impl<'db> From<NeedMut> for AnyDiagnostic<'db>
Source§fn from(d: NeedMut) -> AnyDiagnostic<'db>
fn from(d: NeedMut) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<NoSuchField> for AnyDiagnostic<'db>
impl<'db> From<NoSuchField> for AnyDiagnostic<'db>
Source§fn from(d: NoSuchField) -> AnyDiagnostic<'db>
fn from(d: NoSuchField) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<NonExhaustiveLet> for AnyDiagnostic<'db>
impl<'db> From<NonExhaustiveLet> for AnyDiagnostic<'db>
Source§fn from(d: NonExhaustiveLet) -> AnyDiagnostic<'db>
fn from(d: NonExhaustiveLet) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<ParenthesizedGenericArgsWithoutFnTrait> for AnyDiagnostic<'db>
impl<'db> From<ParenthesizedGenericArgsWithoutFnTrait> for AnyDiagnostic<'db>
Source§fn from(d: ParenthesizedGenericArgsWithoutFnTrait) -> AnyDiagnostic<'db>
fn from(d: ParenthesizedGenericArgsWithoutFnTrait) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<PrivateAssocItem> for AnyDiagnostic<'db>
impl<'db> From<PrivateAssocItem> for AnyDiagnostic<'db>
Source§fn from(d: PrivateAssocItem) -> AnyDiagnostic<'db>
fn from(d: PrivateAssocItem) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<PrivateField> for AnyDiagnostic<'db>
impl<'db> From<PrivateField> for AnyDiagnostic<'db>
Source§fn from(d: PrivateField) -> AnyDiagnostic<'db>
fn from(d: PrivateField) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<RemoveTrailingReturn> for AnyDiagnostic<'db>
impl<'db> From<RemoveTrailingReturn> for AnyDiagnostic<'db>
Source§fn from(d: RemoveTrailingReturn) -> AnyDiagnostic<'db>
fn from(d: RemoveTrailingReturn) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<RemoveUnnecessaryElse> for AnyDiagnostic<'db>
impl<'db> From<RemoveUnnecessaryElse> for AnyDiagnostic<'db>
Source§fn from(d: RemoveUnnecessaryElse) -> AnyDiagnostic<'db>
fn from(d: RemoveUnnecessaryElse) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<ReplaceFilterMapNextWithFindMap> for AnyDiagnostic<'db>
impl<'db> From<ReplaceFilterMapNextWithFindMap> for AnyDiagnostic<'db>
Source§fn from(d: ReplaceFilterMapNextWithFindMap) -> AnyDiagnostic<'db>
fn from(d: ReplaceFilterMapNextWithFindMap) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<TraitImplIncorrectSafety> for AnyDiagnostic<'db>
impl<'db> From<TraitImplIncorrectSafety> for AnyDiagnostic<'db>
Source§fn from(d: TraitImplIncorrectSafety) -> AnyDiagnostic<'db>
fn from(d: TraitImplIncorrectSafety) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<TraitImplMissingAssocItems> for AnyDiagnostic<'db>
impl<'db> From<TraitImplMissingAssocItems> for AnyDiagnostic<'db>
Source§fn from(d: TraitImplMissingAssocItems) -> AnyDiagnostic<'db>
fn from(d: TraitImplMissingAssocItems) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<TraitImplOrphan> for AnyDiagnostic<'db>
impl<'db> From<TraitImplOrphan> for AnyDiagnostic<'db>
Source§fn from(d: TraitImplOrphan) -> AnyDiagnostic<'db>
fn from(d: TraitImplOrphan) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<TraitImplRedundantAssocItems> for AnyDiagnostic<'db>
impl<'db> From<TraitImplRedundantAssocItems> for AnyDiagnostic<'db>
Source§fn from(d: TraitImplRedundantAssocItems) -> AnyDiagnostic<'db>
fn from(d: TraitImplRedundantAssocItems) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<TypeMismatch<'db>> for AnyDiagnostic<'db>
impl<'db> From<TypeMismatch<'db>> for AnyDiagnostic<'db>
Source§fn from(d: TypeMismatch<'db>) -> AnyDiagnostic<'db>
fn from(d: TypeMismatch<'db>) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<TypedHole<'db>> for AnyDiagnostic<'db>
impl<'db> From<TypedHole<'db>> for AnyDiagnostic<'db>
Source§fn from(d: TypedHole<'db>) -> AnyDiagnostic<'db>
fn from(d: TypedHole<'db>) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<UndeclaredLabel> for AnyDiagnostic<'db>
impl<'db> From<UndeclaredLabel> for AnyDiagnostic<'db>
Source§fn from(d: UndeclaredLabel) -> AnyDiagnostic<'db>
fn from(d: UndeclaredLabel) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<UnimplementedBuiltinMacro> for AnyDiagnostic<'db>
impl<'db> From<UnimplementedBuiltinMacro> for AnyDiagnostic<'db>
Source§fn from(d: UnimplementedBuiltinMacro) -> AnyDiagnostic<'db>
fn from(d: UnimplementedBuiltinMacro) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<UnreachableLabel> for AnyDiagnostic<'db>
impl<'db> From<UnreachableLabel> for AnyDiagnostic<'db>
Source§fn from(d: UnreachableLabel) -> AnyDiagnostic<'db>
fn from(d: UnreachableLabel) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<UnresolvedAssocItem> for AnyDiagnostic<'db>
impl<'db> From<UnresolvedAssocItem> for AnyDiagnostic<'db>
Source§fn from(d: UnresolvedAssocItem) -> AnyDiagnostic<'db>
fn from(d: UnresolvedAssocItem) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<UnresolvedExternCrate> for AnyDiagnostic<'db>
impl<'db> From<UnresolvedExternCrate> for AnyDiagnostic<'db>
Source§fn from(d: UnresolvedExternCrate) -> AnyDiagnostic<'db>
fn from(d: UnresolvedExternCrate) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<UnresolvedField<'db>> for AnyDiagnostic<'db>
impl<'db> From<UnresolvedField<'db>> for AnyDiagnostic<'db>
Source§fn from(d: UnresolvedField<'db>) -> AnyDiagnostic<'db>
fn from(d: UnresolvedField<'db>) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<UnresolvedIdent> for AnyDiagnostic<'db>
impl<'db> From<UnresolvedIdent> for AnyDiagnostic<'db>
Source§fn from(d: UnresolvedIdent) -> AnyDiagnostic<'db>
fn from(d: UnresolvedIdent) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<UnresolvedImport> for AnyDiagnostic<'db>
impl<'db> From<UnresolvedImport> for AnyDiagnostic<'db>
Source§fn from(d: UnresolvedImport) -> AnyDiagnostic<'db>
fn from(d: UnresolvedImport) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<UnresolvedMacroCall> for AnyDiagnostic<'db>
impl<'db> From<UnresolvedMacroCall> for AnyDiagnostic<'db>
Source§fn from(d: UnresolvedMacroCall) -> AnyDiagnostic<'db>
fn from(d: UnresolvedMacroCall) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<UnresolvedMethodCall<'db>> for AnyDiagnostic<'db>
impl<'db> From<UnresolvedMethodCall<'db>> for AnyDiagnostic<'db>
Source§fn from(d: UnresolvedMethodCall<'db>) -> AnyDiagnostic<'db>
fn from(d: UnresolvedMethodCall<'db>) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<UnresolvedModule> for AnyDiagnostic<'db>
impl<'db> From<UnresolvedModule> for AnyDiagnostic<'db>
Source§fn from(d: UnresolvedModule) -> AnyDiagnostic<'db>
fn from(d: UnresolvedModule) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<UnusedMut> for AnyDiagnostic<'db>
impl<'db> From<UnusedMut> for AnyDiagnostic<'db>
Source§fn from(d: UnusedMut) -> AnyDiagnostic<'db>
fn from(d: UnusedMut) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Source§impl<'db> From<UnusedVariable> for AnyDiagnostic<'db>
impl<'db> From<UnusedVariable> for AnyDiagnostic<'db>
Source§fn from(d: UnusedVariable) -> AnyDiagnostic<'db>
fn from(d: UnusedVariable) -> AnyDiagnostic<'db>
Converts to this type from the input type.
Auto Trait Implementations§
impl<'db> Freeze for AnyDiagnostic<'db>
impl<'db> !RefUnwindSafe for AnyDiagnostic<'db>
impl<'db> Send for AnyDiagnostic<'db>
impl<'db> Sync for AnyDiagnostic<'db>
impl<'db> Unpin for AnyDiagnostic<'db>
impl<'db> !UnwindSafe for AnyDiagnostic<'db>
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
§impl<T> Cast for T
impl<T> Cast for T
§impl<T, R> CollectAndApply<T, R> for T
impl<T, R> CollectAndApply<T, R> for T
§impl<T> Instrument for T
impl<T> Instrument for T
§fn instrument(self, span: Span) -> Instrumented<Self>
fn instrument(self, span: Span) -> Instrumented<Self>
§fn in_current_span(self) -> Instrumented<Self>
fn in_current_span(self) -> Instrumented<Self>
Source§impl<T> IntoEither for T
impl<T> IntoEither for T
Source§fn into_either(self, into_left: bool) -> Either<Self, Self>
fn into_either(self, into_left: bool) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left
is true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read moreSource§fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
fn into_either_with<F>(self, into_left: F) -> Either<Self, Self>
Converts
self
into a Left
variant of Either<Self, Self>
if into_left(&self)
returns true
.
Converts self
into a Right
variant of Either<Self, Self>
otherwise. Read more