Enum ra_ap_hir::diagnostics::AnyDiagnostic[][src]

pub enum AnyDiagnostic {
Show 19 variants AddReferenceHere(Box<AddReferenceHere>), BreakOutsideOfLoop(Box<BreakOutsideOfLoop>), InactiveCode(Box<InactiveCode>), IncorrectCase(Box<IncorrectCase>), MacroError(Box<MacroError>), MismatchedArgCount(Box<MismatchedArgCount>), MissingFields(Box<MissingFields>), MissingMatchArms(Box<MissingMatchArms>), MissingOkOrSomeInTailExpr(Box<MissingOkOrSomeInTailExpr>), MissingUnsafe(Box<MissingUnsafe>), NoSuchField(Box<NoSuchField>), RemoveThisSemicolon(Box<RemoveThisSemicolon>), ReplaceFilterMapNextWithFindMap(Box<ReplaceFilterMapNextWithFindMap>), UnimplementedBuiltinMacro(Box<UnimplementedBuiltinMacro>), UnresolvedExternCrate(Box<UnresolvedExternCrate>), UnresolvedImport(Box<UnresolvedImport>), UnresolvedMacroCall(Box<UnresolvedMacroCall>), UnresolvedModule(Box<UnresolvedModule>), UnresolvedProcMacro(Box<UnresolvedProcMacro>),
}

Variants

AddReferenceHere(Box<AddReferenceHere>)

Tuple Fields of AddReferenceHere

0: Box<AddReferenceHere>
BreakOutsideOfLoop(Box<BreakOutsideOfLoop>)

Tuple Fields of BreakOutsideOfLoop

0: Box<BreakOutsideOfLoop>
InactiveCode(Box<InactiveCode>)

Tuple Fields of InactiveCode

0: Box<InactiveCode>
IncorrectCase(Box<IncorrectCase>)

Tuple Fields of IncorrectCase

0: Box<IncorrectCase>
MacroError(Box<MacroError>)

Tuple Fields of MacroError

0: Box<MacroError>
MismatchedArgCount(Box<MismatchedArgCount>)

Tuple Fields of MismatchedArgCount

0: Box<MismatchedArgCount>
MissingFields(Box<MissingFields>)

Tuple Fields of MissingFields

0: Box<MissingFields>
MissingMatchArms(Box<MissingMatchArms>)

Tuple Fields of MissingMatchArms

0: Box<MissingMatchArms>
MissingOkOrSomeInTailExpr(Box<MissingOkOrSomeInTailExpr>)

Tuple Fields of MissingOkOrSomeInTailExpr

0: Box<MissingOkOrSomeInTailExpr>
MissingUnsafe(Box<MissingUnsafe>)

Tuple Fields of MissingUnsafe

0: Box<MissingUnsafe>
NoSuchField(Box<NoSuchField>)

Tuple Fields of NoSuchField

0: Box<NoSuchField>
RemoveThisSemicolon(Box<RemoveThisSemicolon>)

Tuple Fields of RemoveThisSemicolon

0: Box<RemoveThisSemicolon>
ReplaceFilterMapNextWithFindMap(Box<ReplaceFilterMapNextWithFindMap>)

Tuple Fields of ReplaceFilterMapNextWithFindMap

0: Box<ReplaceFilterMapNextWithFindMap>
UnimplementedBuiltinMacro(Box<UnimplementedBuiltinMacro>)

Tuple Fields of UnimplementedBuiltinMacro

0: Box<UnimplementedBuiltinMacro>
UnresolvedExternCrate(Box<UnresolvedExternCrate>)

Tuple Fields of UnresolvedExternCrate

0: Box<UnresolvedExternCrate>
UnresolvedImport(Box<UnresolvedImport>)

Tuple Fields of UnresolvedImport

0: Box<UnresolvedImport>
UnresolvedMacroCall(Box<UnresolvedMacroCall>)

Tuple Fields of UnresolvedMacroCall

0: Box<UnresolvedMacroCall>
UnresolvedModule(Box<UnresolvedModule>)

Tuple Fields of UnresolvedModule

0: Box<UnresolvedModule>
UnresolvedProcMacro(Box<UnresolvedProcMacro>)

Tuple Fields of UnresolvedProcMacro

0: Box<UnresolvedProcMacro>

Trait Implementations

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

Performs the conversion.

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

Cast a value to type U using CastTo.

Performs the conversion.

Instruments this type with the provided Span, returning an Instrumented wrapper. Read more

Instruments this type with the current Span, returning an Instrumented wrapper. Read more

Performs the conversion.

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.

Attaches the provided Subscriber to this type, returning a WithDispatch wrapper. Read more

Attaches the current default Subscriber to this type, returning a WithDispatch wrapper. Read more