Enum ra_ap_hir::diagnostics::AnyDiagnostic [−][src]
pub enum AnyDiagnostic {}Show 18 variants
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
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>)
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.
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
.
Instruments this type with the provided Span
, returning an
Instrumented
wrapper. Read more
impl<T> Any for T where
T: Any,