☰
Module errors
Structs
Enums
Constants
?
Module
rustc_hir_analysis
::
errors
source
·
[
−
]
Expand description
Errors emitted by
rustc_hir_analysis
.
Structs
AmbiguousLifetimeBound
AssocBoundOnConst
AssocTypeBindingNotAllowed
AssociatedTypeTraitUninferredGenericParams
🔒
AssociatedTypeTraitUninferredGenericParamsMultipartSuggestion
🔒
AsyncTraitImplShouldBeAsync
AutoDerefReachedRecursionLimit
CastThinPointerToFatPointer
🔒
ClosureImplicitHrtb
🔒
CoerceUnsizedMay
CoerceUnsizedMulti
CoerceUnsizedOneField
ConstBoundForNonConstTrait
ConstImplForNonConstTrait
ConstParamTyImplOnNonAdt
ConstSpecialize
🔒
CopyImplOnNonAdt
CopyImplOnTypeWithDtor
DispatchFromDynCoercion
DispatchFromDynMulti
DispatchFromDynRepr
DispatchFromDynSame
DispatchFromDynSingle
DispatchFromDynStruct
DispatchFromDynZST
DropImplOnWrongItem
EmptySpecialization
🔒
EnumDiscriminantOverflowed
🔒
FieldAlreadyDeclared
FunctionNamesDuplicated
🔒
FunctionNotFoundInTrait
🔒
FunctionNotHaveDefaultImplementation
🔒
ImplForTyRequires
InherentDyn
InherentNominal
InherentPrimitiveTy
InherentPrimitiveTyNote
InherentTyOutside
InherentTyOutsideNew
InherentTyOutsidePrimitive
InherentTyOutsideRelevant
InvalidUnionField
🔒
InvalidUnionFieldSuggestion
🔒
LifetimesOrBoundsMismatchOnTrait
LinkageType
🔒
MainFunctionAsync
🔒
MainFunctionGenericParameters
🔒
MainFunctionReturnTypeGeneric
🔒
ManualImplementation
MissingOneOfTraitItem
🔒
MissingTildeConst
🔒
MissingTraitItem
🔒
MissingTraitItemLabel
🔒
MissingTraitItemSuggestion
🔒
MissingTraitItemSuggestionNone
🔒
MissingTraitItemUnstable
🔒
MissingTypeParams
MultipleRelaxedDefaultBounds
MustBeNameOfAssociatedFunction
🔒
MustImplementNotFunction
🔒
MustImplementNotFunctionNote
🔒
MustImplementNotFunctionSpanNote
🔒
MustImplementOneOfAttribute
🔒
ParenSugarAttribute
🔒
ParenthesizedFnTraitExpansion
PassToVariadicFunction
🔒
PlaceholderNotAllowedItemSignatures
🔒
ReturnPositionImplTraitInTraitRefined
🔒
ReturnTypeNotationConflictingBound
🔒
ReturnTypeNotationEqualityBound
🔒
ReturnTypeNotationMissingMethod
🔒
ReturnTypeNotationOnNonRpitit
🔒
SIMDFFIHighlyExperimental
🔒
SelfInImplSelf
SpecializationTrait
🔒
StartAsync
🔒
StartFunctionParameters
🔒
StartFunctionWhere
🔒
StartTargetFeature
🔒
StartTrackCaller
🔒
StaticSpecialize
🔒
SubstsOnOverriddenImpl
TaitForwardCompat
TargetFeatureOnMain
🔒
TooLargeStatic
🔒
TrackCallerOnMain
🔒
TraitCannotImplForTy
TraitObjectDeclaredWithNoTraits
TransparentEnumVariant
🔒
TransparentNonZeroSized
🔒
TransparentNonZeroSizedEnum
🔒
TypeofReservedKeywordUsed
UnconstrainedOpaqueType
UnrecognizedAtomicOperation
UnrecognizedIntrinsicFunction
UnusedAssociatedTypeBounds
ValueOfAssociatedStructAlreadySpecified
VariadicFunctionCompatibleConvention
🔒
VariancesOf
🔒
WhereClauseOnMain
🔒
WrongNumberOfGenericArgumentsToIntrinsic
Enums
CannotCaptureLateBound
🔒
DropImplPolarity
🔒
ImplNotMarkedDefault
LateBoundInApit
🔒
ReturnTypeNotationIllegalParam
🔒
Constants
_DERIVE_rustc_errors_AddToDiagnostic_FOR_AssociatedTypeTraitUninferredGenericParamsMultipartSuggestion
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_ImplForTyRequires
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_InherentPrimitiveTyNote
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_InvalidUnionFieldSuggestion
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_MissingTraitItemLabel
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_MissingTraitItemSuggestion
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_MissingTraitItemSuggestionNone
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_MustImplementNotFunctionNote
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_MustImplementNotFunctionSpanNote
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_ParenthesizedFnTraitExpansion
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_ReturnPositionImplTraitInTraitRefined
🔒
_DERIVE_rustc_errors_DecorateLint_a_FOR_UnusedAssociatedTypeBounds
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_AmbiguousLifetimeBound
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_AssocBoundOnConst
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_AssocTypeBindingNotAllowed
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_AssociatedTypeTraitUninferredGenericParams
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_AsyncTraitImplShouldBeAsync
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_AutoDerefReachedRecursionLimit
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_CannotCaptureLateBound
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_CastThinPointerToFatPointer
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ClosureImplicitHrtb
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_CoerceUnsizedMay
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_CoerceUnsizedMulti
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_CoerceUnsizedOneField
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ConstBoundForNonConstTrait
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ConstImplForNonConstTrait
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ConstParamTyImplOnNonAdt
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ConstSpecialize
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_CopyImplOnNonAdt
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_CopyImplOnTypeWithDtor
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_DispatchFromDynCoercion
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_DispatchFromDynMulti
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_DispatchFromDynRepr
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_DispatchFromDynSame
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_DispatchFromDynSingle
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_DispatchFromDynStruct
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_DispatchFromDynZST
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_DropImplOnWrongItem
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_DropImplPolarity
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_EmptySpecialization
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_EnumDiscriminantOverflowed
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_FieldAlreadyDeclared
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_FunctionNamesDuplicated
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_FunctionNotFoundInTrait
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_FunctionNotHaveDefaultImplementation
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ImplNotMarkedDefault
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InherentDyn
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InherentNominal
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InherentPrimitiveTy
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InherentTyOutside
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InherentTyOutsideNew
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InherentTyOutsidePrimitive
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InherentTyOutsideRelevant
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidUnionField
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_LateBoundInApit
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_LifetimesOrBoundsMismatchOnTrait
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_LinkageType
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MainFunctionAsync
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MainFunctionGenericParameters
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MainFunctionReturnTypeGeneric
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ManualImplementation
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MissingOneOfTraitItem
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MissingTildeConst
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MissingTraitItem
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MissingTraitItemUnstable
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MultipleRelaxedDefaultBounds
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MustBeNameOfAssociatedFunction
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MustImplementNotFunction
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MustImplementOneOfAttribute
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ParenSugarAttribute
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_PassToVariadicFunction
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_PlaceholderNotAllowedItemSignatures
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ReturnTypeNotationConflictingBound
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ReturnTypeNotationEqualityBound
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ReturnTypeNotationIllegalParam
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ReturnTypeNotationMissingMethod
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ReturnTypeNotationOnNonRpitit
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_SIMDFFIHighlyExperimental
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_SelfInImplSelf
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_SpecializationTrait
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_StartAsync
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_StartFunctionParameters
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_StartFunctionWhere
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_StartTargetFeature
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_StartTrackCaller
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_StaticSpecialize
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_SubstsOnOverriddenImpl
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_TaitForwardCompat
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_TargetFeatureOnMain
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_TooLargeStatic
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_TrackCallerOnMain
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_TraitCannotImplForTy
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_TraitObjectDeclaredWithNoTraits
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_TransparentEnumVariant
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_TransparentNonZeroSized
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_TransparentNonZeroSizedEnum
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_TypeofReservedKeywordUsed
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_UnconstrainedOpaqueType
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_UnrecognizedAtomicOperation
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_UnrecognizedIntrinsicFunction
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ValueOfAssociatedStructAlreadySpecified
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_VariadicFunctionCompatibleConvention
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_VariancesOf
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_WhereClauseOnMain
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_WrongNumberOfGenericArgumentsToIntrinsic
🔒