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
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
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
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
ReplaceFilterMapNextWithFindMap(Box<ReplaceFilterMapNextWithFindMap>)
Tuple Fields of ReplaceFilterMapNextWithFindMap
UnimplementedBuiltinMacro(Box<UnimplementedBuiltinMacro>)
Tuple Fields of UnimplementedBuiltinMacro
UnresolvedExternCrate(Box<UnresolvedExternCrate>)
Tuple Fields of UnresolvedExternCrate
UnresolvedImport(Box<UnresolvedImport>)
Tuple Fields of UnresolvedImport
0: Box<UnresolvedImport>
UnresolvedMacroCall(Box<UnresolvedMacroCall>)
Tuple Fields of UnresolvedMacroCall
UnresolvedModule(Box<UnresolvedModule>)
Tuple Fields of UnresolvedModule
0: Box<UnresolvedModule>
UnresolvedProcMacro(Box<UnresolvedProcMacro>)
Tuple Fields of 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
impl RefUnwindSafe for AnyDiagnostic
impl Send for AnyDiagnostic
impl Sync for AnyDiagnostic
impl Unpin for AnyDiagnostic
impl UnwindSafe for AnyDiagnostic
Blanket Implementations
Mutably borrows from an owned value. Read more
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
fn cast<U>(self, interner: &<U as HasInterner>::Interner) -> U where
Self: CastTo<U>,
U: HasInterner,
Cast a value to type U
using CastTo
.
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