☰
Module errors
Structs
Enums
Constants
?
Module
rustc_parse
::
errors
source
·
[
−
]
Structs
AmbiguousPlus
🔒
ArrayBracketsInsteadOfSpaces
🔒
ArrayBracketsInsteadOfSpacesSugg
🔒
AssignmentElseNotAllowed
🔒
AsyncMoveOrderIncorrect
🔒
AttributeOnParamType
🔒
BadQPathStage2
🔒
BadTypePlus
🔒
BracesForStructLiteral
🔒
CatchAfterTry
🔒
CommaAfterBaseStruct
🔒
ComparisonInterpretedAsGeneric
🔒
ComparisonOperatorsCannotBeChained
🔒
ComparisonOrShiftInterpretedAsGenericSugg
🔒
CompoundAssignmentExpressionInLet
🔒
ConstGenericWithoutBraces
🔒
ConstGenericWithoutBracesSugg
🔒
ConstLetMutuallyExclusive
🔒
DoCatchSyntaxRemoved
🔒
DocCommentDoesNotDocumentAnything
🔒
DocCommentOnParamType
🔒
DotDotDot
🔒
DoubleColonInBound
🔒
EqFieldInit
🔒
ExpectedElseBlock
🔒
ExpectedEqForLetExpr
🔒
ExpectedExpressionFoundLet
🔒
ExpectedIdentifier
🔒
ExpectedSemi
🔒
ExpectedStatementAfterOuterAttr
🔒
FieldExpressionWithGeneric
🔒
FloatLiteralRequiresIntegerPart
🔒
FnPtrWithGenerics
🔒
FnPtrWithGenericsSugg
🔒
FnTypoWithImpl
🔒
FoundExprWouldBeStmt
🔒
GenericParamsWithoutAngleBrackets
🔒
GenericParamsWithoutAngleBracketsSugg
🔒
IfExpressionMissingCondition
🔒
IfExpressionMissingThenBlock
🔒
InInTypo
🔒
IncorrectAwait
🔒
IncorrectSemicolon
🔒
IncorrectUseOfAwait
🔒
IncorrectVisibilityRestriction
🔒
InvalidBlockMacroSegment
🔒
InvalidComparisonOperator
🔒
InvalidCurlyInLetElse
🔒
InvalidExpressionInLetElse
🔒
InvalidIdentiferStartsWithNumber
🔒
InvalidInterpolatedExpression
🔒
InvalidLiteralSuffixOnTupleIndex
🔒
InvalidLogicalOperator
🔒
InvalidMetaItem
🔒
InvalidVariableDeclaration
🔒
LabeledLoopInBreak
🔒
LeadingPlusNotSupported
🔒
LeftArrowOperator
🔒
LifetimeInBorrowExpression
🔒
MacroInvocationWithQualifiedPath
🔒
MalformedLoopLabel
🔒
MatchArmBodyWithoutBraces
🔒
MismatchedClosingDelimiter
🔒
MissingCommaAfterMatchArm
🔒
MissingDotDot
🔒
MissingInInForLoop
🔒
MissingSemicolonBeforeArray
🔒
NoFieldsForFnCall
🔒
NonStringAbiLiteral
🔒
NotAsNegationOperator
🔒
OuterAttributeNotAllowedOnIfElse
🔒
ParenthesesInForHead
🔒
ParenthesesInForHeadSugg
🔒
ParenthesesWithStructFields
🔒
PatternMethodParamWithoutBody
🔒
QuestionMarkInType
🔒
QuestionMarkInTypeSugg
🔒
RemoveLet
🔒
RequireColonAfterLabeledExpression
🔒
SelfParamNotFirst
🔒
ShiftInterpretedAsGeneric
🔒
StructLiteralBodyWithoutPath
🔒
StructLiteralBodyWithoutPathSugg
🔒
StructLiteralNotAllowedHere
🔒
StructLiteralNotAllowedHereSugg
🔒
SuffixedLiteralInAttribute
🔒
SuggEscapeToUseAsIdentifier
🔒
SuggRemoveComma
🔒
TildeAsUnaryOperator
🔒
UnexpectedConstInGenericParam
🔒
UnexpectedConstParamDeclaration
🔒
UnexpectedIfWithIf
🔒
UnexpectedTokenAfterLabel
🔒
UnexpectedTokenAfterLabelSugg
🔒
UnmatchedAngleBrackets
🔒
UseEmptyBlockNotSemi
🔒
UseEqInstead
🔒
WrapExpressionInParentheses
🔒
Enums
BadTypePlusSub
🔒
ComparisonOperatorsCannotBeChainedSugg
🔒
ExpectedIdentifierFound
🔒
ExpectedSemiSugg
🔒
IfExpressionMissingThenBlockSub
🔒
InvalidComparisonOperatorSub
🔒
InvalidLogicalOperatorSub
🔒
InvalidVariableDeclarationSub
🔒
MatchArmBodyWithoutBracesSugg
🔒
MissingInInForLoopSub
🔒
NotAsNegationOperatorSub
UnexpectedConstParamDeclarationSugg
🔒
Constants
_DERIVE_rustc_errors_AddToDiagnostic_FOR_ArrayBracketsInsteadOfSpacesSugg
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_BadTypePlusSub
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_BracesForStructLiteral
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_ComparisonOperatorsCannotBeChainedSugg
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_ComparisonOrShiftInterpretedAsGenericSugg
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_ConstGenericWithoutBracesSugg
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_ExpectedIdentifierFound
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_ExpectedSemiSugg
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_FnPtrWithGenericsSugg
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_GenericParamsWithoutAngleBracketsSugg
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_IfExpressionMissingThenBlockSub
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_InvalidComparisonOperatorSub
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_InvalidLogicalOperatorSub
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_InvalidVariableDeclarationSub
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_MatchArmBodyWithoutBracesSugg
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_MissingInInForLoopSub
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_NoFieldsForFnCall
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_NotAsNegationOperatorSub
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_ParenthesesInForHeadSugg
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_QuestionMarkInTypeSugg
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_StructLiteralBodyWithoutPathSugg
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_StructLiteralNotAllowedHereSugg
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_SuggEscapeToUseAsIdentifier
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_SuggRemoveComma
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_UnexpectedConstParamDeclarationSugg
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_UnexpectedTokenAfterLabelSugg
🔒
_DERIVE_rustc_errors_AddToDiagnostic_FOR_WrapExpressionInParentheses
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_AmbiguousPlus
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ArrayBracketsInsteadOfSpaces
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_AssignmentElseNotAllowed
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_AsyncMoveOrderIncorrect
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_AttributeOnParamType
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_BadQPathStage2
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_BadTypePlus
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_CatchAfterTry
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_CommaAfterBaseStruct
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ComparisonInterpretedAsGeneric
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ComparisonOperatorsCannotBeChained
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_CompoundAssignmentExpressionInLet
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ConstGenericWithoutBraces
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ConstLetMutuallyExclusive
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_DoCatchSyntaxRemoved
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_DocCommentDoesNotDocumentAnything
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_DocCommentOnParamType
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_DotDotDot
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_DoubleColonInBound
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_EqFieldInit
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ExpectedElseBlock
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ExpectedEqForLetExpr
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ExpectedExpressionFoundLet
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ExpectedStatementAfterOuterAttr
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_FieldExpressionWithGeneric
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_FloatLiteralRequiresIntegerPart
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_FnPtrWithGenerics
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_FnTypoWithImpl
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_FoundExprWouldBeStmt
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_GenericParamsWithoutAngleBrackets
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_IfExpressionMissingCondition
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_IfExpressionMissingThenBlock
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InInTypo
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_IncorrectAwait
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_IncorrectSemicolon
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_IncorrectUseOfAwait
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_IncorrectVisibilityRestriction
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidBlockMacroSegment
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidComparisonOperator
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidCurlyInLetElse
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidExpressionInLetElse
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidIdentiferStartsWithNumber
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidInterpolatedExpression
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidLiteralSuffixOnTupleIndex
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidLogicalOperator
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidMetaItem
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_InvalidVariableDeclaration
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_LabeledLoopInBreak
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_LeadingPlusNotSupported
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_LeftArrowOperator
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_LifetimeInBorrowExpression
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MacroInvocationWithQualifiedPath
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MalformedLoopLabel
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MatchArmBodyWithoutBraces
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MismatchedClosingDelimiter
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MissingCommaAfterMatchArm
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MissingDotDot
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MissingInInForLoop
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_MissingSemicolonBeforeArray
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_NonStringAbiLiteral
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_NotAsNegationOperator
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_OuterAttributeNotAllowedOnIfElse
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ParenthesesInForHead
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ParenthesesWithStructFields
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_PatternMethodParamWithoutBody
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_QuestionMarkInType
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_RemoveLet
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_RequireColonAfterLabeledExpression
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_SelfParamNotFirst
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_ShiftInterpretedAsGeneric
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_StructLiteralBodyWithoutPath
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_StructLiteralNotAllowedHere
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_SuffixedLiteralInAttribute
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_TildeAsUnaryOperator
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_UnexpectedConstInGenericParam
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_UnexpectedConstParamDeclaration
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_UnexpectedIfWithIf
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_UnexpectedTokenAfterLabel
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_UnmatchedAngleBrackets
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_UseEmptyBlockNotSemi
🔒
_DERIVE_rustc_errors_IntoDiagnostic_diagnostic_handler_sess_G_FOR_UseEqInstead
🔒