rustc_parse
1.78.0-dev
Module errors
Structs
Enums
In crate rustc_parse
?
Module
rustc_parse
::
errors
source
·
[
−
]
Structs
§
AmbiguousPlus
🔒
AmbiguousRangePattern
🔒
ArrayBracketsInsteadOfSpaces
🔒
ArrayBracketsInsteadOfSpacesSugg
🔒
ArrayIndexInOffsetOf
🔒
AssignmentElseNotAllowed
🔒
AssocLifetime
🔒
AssociatedStaticItemNotAllowed
🔒
AsyncBlockIn2015
🔒
AsyncBoundModifierIn2015
🔒
AsyncFnIn2015
🔒
AsyncImpl
🔒
AsyncMoveBlockIn2015
🔒
AsyncMoveOrderIncorrect
🔒
AttrAfterGeneric
🔒
AttrWithoutGenerics
🔒
AttributeOnParamType
🔒
BadAssocTypeBounds
🔒
BadItemKind
🔒
BadQPathStage2
🔒
BadReturnTypeNotationDotDot
🔒
BadReturnTypeNotationOutput
🔒
BadTypePlus
🔒
BoundsNotAllowedOnTraitAliases
🔒
BoxNotPat
🔒
BoxSyntaxRemoved
BracesForStructLiteral
🔒
CannotBeRawIdent
CatchAfterTry
🔒
CfgAttrBadDelim
🔒
ColonAsSemi
🔒
CommaAfterBaseStruct
🔒
ComparisonInterpretedAsGeneric
🔒
ComparisonOperatorsCannotBeChained
🔒
ComparisonOrShiftInterpretedAsGenericSugg
🔒
CompoundAssignmentExpressionInLet
🔒
ConstGenericWithoutBraces
🔒
ConstGenericWithoutBracesSugg
🔒
ConstGlobalCannotBeMutable
🔒
ConstLetMutuallyExclusive
🔒
CrDocComment
DefaultNotFollowedByItem
🔒
DoCatchSyntaxRemoved
🔒
DocCommentDoesNotDocumentAnything
🔒
DocCommentOnParamType
🔒
DotDotDot
🔒
DotDotDotForRemainingFields
🔒
DotDotDotRangeToPatternNotAllowed
🔒
DotDotDotRestPattern
🔒
DoubleColonInBound
🔒
DynAfterMut
🔒
EmptyExponentFloat
EnumPatternInsteadOfIdentifier
🔒
EnumStructMutuallyExclusive
🔒
EqFieldInit
🔒
EqualsStructDefault
🔒
ExpectedBindingLeftOfAt
🔒
ExpectedBuiltinIdent
🔒
ExpectedCommaAfterPatternField
🔒
ExpectedElseBlock
🔒
ExpectedEqForLetExpr
🔒
ExpectedExpressionFoundLet
🔒
ExpectedFnPathFoundFnKeyword
🔒
ExpectedIdentifier
🔒
ExpectedLabelFoundIdent
🔒
ExpectedMutOrConstInRawPointerType
🔒
ExpectedSemi
🔒
ExpectedStatementAfterOuterAttr
🔒
ExpectedStructField
🔒
ExpectedTraitInTraitImplFoundType
🔒
ExternCrateNameWithDashes
🔒
ExternCrateNameWithDashesSugg
🔒
ExternItemCannotBeConst
🔒
ExtraImplKeywordInTraitImpl
🔒
FieldExpressionWithGeneric
🔒
FloatLiteralRequiresIntegerPart
🔒
FloatLiteralUnsupportedBase
FnPointerCannotBeAsync
🔒
FnPointerCannotBeConst
🔒
FnPtrWithGenerics
🔒
FnPtrWithGenericsSugg
🔒
FnTraitMissingParen
🔒
FnTypoWithImpl
🔒
FoundExprWouldBeStmt
🔒
FunctionBodyEqualsExpr
🔒
FunctionBodyEqualsExprSugg
🔒
GenericArgsInPatRequireTurbofishSyntax
🔒
GenericParamsWithoutAngleBrackets
🔒
GenericParamsWithoutAngleBracketsSugg
🔒
GenericsInPath
🔒
HelpIdentifierStartsWithNumber
🔒
IfExpressionLetSomeSub
🔒
IfExpressionMissingCondition
🔒
IfExpressionMissingThenBlock
🔒
InInTypo
🔒
InappropriateDefault
🔒
InclusiveRangeExtraEquals
🔒
InclusiveRangeMatchArrow
🔒
InclusiveRangeNoEnd
🔒
IncorrectAwait
🔒
IncorrectParensTraitBounds
🔒
IncorrectParensTraitBoundsSugg
🔒
IncorrectSemicolon
🔒
IncorrectUseOfAwait
🔒
IncorrectVisibilityRestriction
🔒
InvalidBlockMacroSegment
🔒
InvalidComparisonOperator
🔒
InvalidCurlyInLetElse
🔒
InvalidDigitLiteral
InvalidDynKeyword
🔒
InvalidExpressionInLetElse
🔒
InvalidInterpolatedExpression
🔒
InvalidLiteralSuffixOnTupleIndex
🔒
InvalidLogicalOperator
🔒
InvalidMetaItem
🔒
InvalidMetaItemSuggQuoteIdent
🔒
InvalidMetaItemUnquotedIdent
🔒
InvalidOffsetOf
🔒
InvalidVariableDeclaration
🔒
KwBadCase
🔒
LabeledLoopInBreak
🔒
LeadingPlusNotSupported
🔒
LeftArrowOperator
🔒
LifetimeAfterMut
🔒
LifetimeInBorrowExpression
🔒
LoopElseNotSupported
🔒
MacroExpandsToAdtField
MacroInvocationVisibility
🔒
MacroInvocationWithQualifiedPath
🔒
MacroNameRemoveBang
🔒
MacroRulesMissingBang
🔒
MacroRulesVisibility
🔒
MalformedCfgAttr
🔒
MalformedLoopLabel
🔒
MatchArmBodyWithoutBraces
🔒
MaybeComparison
🔒
MaybeMissingLet
🔒
MetaBadDelim
🔒
MetaBadDelimSugg
🔒
MismatchedClosingDelimiter
🔒
MissingCommaAfterMatchArm
🔒
MissingConstType
🔒
MissingDotDot
🔒
MissingExpressionInForLoop
🔒
MissingFnParams
🔒
MissingForInTraitImpl
🔒
MissingInInForLoop
🔒
MissingPlusBounds
🔒
MissingSemicolonBeforeArray
🔒
MissingTraitInTraitImpl
🔒
ModifierLifetime
🔒
MultipleWhereClauses
🔒
NeedPlusAfterTraitObjectLifetime
🔒
NestedAdt
🔒
NestedCVariadicType
🔒
NoDigitsLiteral
NoFieldsForFnCall
🔒
NonStringAbiLiteral
🔒
NotAsNegationOperator
🔒
OuterAttributeNotAllowedOnIfElse
🔒
ParenthesesInForHead
🔒
ParenthesesInForHeadSugg
🔒
ParenthesesInMatchPat
🔒
ParenthesesInMatchPatSugg
🔒
ParenthesesWithStructFields
🔒
ParenthesizedLifetime
🔒
PathSingleColon
🔒
PatternMethodParamWithoutBody
🔒
PatternOnWrongSideOfAt
🔒
QuestionMarkInType
🔒
QuestionMarkInTypeSugg
🔒
RecoverImportAsUse
🔒
RefMutOrderIncorrect
🔒
RemoveLet
🔒
RepeatedMutInPattern
🔒
RequireColonAfterLabeledExpression
🔒
ReturnTypesUseThinArrow
🔒
SelfArgumentPointer
🔒
SelfParamNotFirst
🔒
ShiftInterpretedAsGeneric
🔒
SingleColonImportPath
🔒
SingleColonStructType
🔒
StaticWithGenerics
🔒
StructLiteralBodyWithoutPath
🔒
StructLiteralBodyWithoutPathSugg
🔒
StructLiteralNeedingParens
🔒
StructLiteralNeedingParensSugg
🔒
StructLiteralNotAllowedHere
🔒
StructLiteralNotAllowedHereSugg
🔒
SuffixedLiteralInAttribute
🔒
SuggAddMissingLetStmt
🔒
SuggEscapeIdentifier
🔒
SuggRemoveComma
🔒
SwitchRefBoxOrder
🔒
TernaryOperator
TildeAsUnaryOperator
🔒
TooManyHashes
TrailingVertNotAllowed
🔒
TraitAliasCannotBeAuto
🔒
TraitAliasCannotBeUnsafe
🔒
TransposeDynOrImpl
🔒
TransposeDynOrImplSugg
🔒
UnderscoreLiteralSuffix
🔒
UnexpectedConstInGenericParam
🔒
UnexpectedConstParamDeclaration
🔒
UnexpectedDefaultValueForLifetimeInGenericParameters
🔒
UnexpectedExpressionInPattern
🔒
UnexpectedIfWithIf
🔒
UnexpectedLifetimeInPattern
🔒
UnexpectedParenInRangePat
🔒
UnexpectedParenInRangePatSugg
🔒
UnexpectedSelfInGenericParameters
🔒
UnexpectedTokenAfterDot
UnexpectedTokenAfterLabel
🔒
UnexpectedTokenAfterLabelSugg
🔒
UnexpectedVertVertBeforeFunctionParam
🔒
UnexpectedVertVertInPattern
🔒
UnknownBuiltinConstruct
🔒
UnknownPrefix
UnknownTokenNull
UnknownTokenRepeat
UnknownTokenStart
UnmatchedAngle
🔒
UnmatchedAngleBrackets
🔒
UseEmptyBlockNotSemi
🔒
UseEqInstead
🔒
VisibilityNotFollowedByItem
🔒
WhereClauseBeforeConstBody
🔒
WhereClauseBeforeConstBodySugg
🔒
WhereClauseBeforeTupleStructBody
🔒
WhereClauseBeforeTupleStructBodySugg
🔒
WhereOnGenerics
🔒
WrapInExplicitBlock
🔒
WrapType
🔒
Enums
§
AmbiguousMissingKwForItemSub
🔒
BadTypePlusSub
🔒
ComparisonOperatorsCannotBeChainedSugg
🔒
ExpectedIdentifierFound
🔒
ExpectedSemiSugg
🔒
HelpUseLatestEdition
IfExpressionMissingThenBlockSub
🔒
InvalidComparisonOperatorSub
🔒
InvalidLogicalOperatorSub
🔒
InvalidMutInPattern
🔒
InvalidVariableDeclarationSub
🔒
MatchArmBodyWithoutBracesSugg
🔒
MissingInInForLoopSub
🔒
MissingKeywordForItemDefinition
🔒
MoreThanOneCharNote
MoreThanOneCharSugg
NoBraceUnicodeSub
NotAsNegationOperatorSub
TokenSubstitution
TopLevelOrPatternNotAllowed
🔒
TopLevelOrPatternNotAllowedSugg
🔒
UnescapeError
UnexpectedConstParamDeclarationSugg
🔒
UnexpectedNonterminal
🔒
UnexpectedTokenAfterStructName
🔒
UnknownPrefixSugg
WrapInParentheses
🔒