Enum ra_ap_hir::diagnostics::AnyDiagnostic
source · pub enum AnyDiagnostic {
Show 21 variants
BreakOutsideOfLoop(Box<BreakOutsideOfLoop>),
InactiveCode(Box<InactiveCode>),
IncorrectCase(Box<IncorrectCase>),
InvalidDeriveTarget(Box<InvalidDeriveTarget>),
MacroError(Box<MacroError>),
MalformedDerive(Box<MalformedDerive>),
MismatchedArgCount(Box<MismatchedArgCount>),
MissingFields(Box<MissingFields>),
MissingMatchArms(Box<MissingMatchArms>),
MissingUnsafe(Box<MissingUnsafe>),
NoSuchField(Box<NoSuchField>),
PrivateAssocItem(Box<PrivateAssocItem>),
PrivateField(Box<PrivateField>),
ReplaceFilterMapNextWithFindMap(Box<ReplaceFilterMapNextWithFindMap>),
TypeMismatch(Box<TypeMismatch>),
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>)
InvalidDeriveTarget(Box<InvalidDeriveTarget>)
MacroError(Box<MacroError>)
MalformedDerive(Box<MalformedDerive>)
MismatchedArgCount(Box<MismatchedArgCount>)
MissingFields(Box<MissingFields>)
MissingMatchArms(Box<MissingMatchArms>)
MissingUnsafe(Box<MissingUnsafe>)
NoSuchField(Box<NoSuchField>)
PrivateAssocItem(Box<PrivateAssocItem>)
PrivateField(Box<PrivateField>)
ReplaceFilterMapNextWithFindMap(Box<ReplaceFilterMapNextWithFindMap>)
TypeMismatch(Box<TypeMismatch>)
UnimplementedBuiltinMacro(Box<UnimplementedBuiltinMacro>)
UnresolvedExternCrate(Box<UnresolvedExternCrate>)
UnresolvedImport(Box<UnresolvedImport>)
UnresolvedMacroCall(Box<UnresolvedMacroCall>)
UnresolvedModule(Box<UnresolvedModule>)
UnresolvedProcMacro(Box<UnresolvedProcMacro>)
Trait Implementations§
source§impl Debug for AnyDiagnostic
impl Debug for AnyDiagnostic
source§impl From<BreakOutsideOfLoop> for AnyDiagnostic
impl From<BreakOutsideOfLoop> for AnyDiagnostic
source§fn from(d: BreakOutsideOfLoop) -> AnyDiagnostic
fn from(d: BreakOutsideOfLoop) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<InactiveCode> for AnyDiagnostic
impl From<InactiveCode> for AnyDiagnostic
source§fn from(d: InactiveCode) -> AnyDiagnostic
fn from(d: InactiveCode) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<IncorrectCase> for AnyDiagnostic
impl From<IncorrectCase> for AnyDiagnostic
source§fn from(d: IncorrectCase) -> AnyDiagnostic
fn from(d: IncorrectCase) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<InvalidDeriveTarget> for AnyDiagnostic
impl From<InvalidDeriveTarget> for AnyDiagnostic
source§fn from(d: InvalidDeriveTarget) -> AnyDiagnostic
fn from(d: InvalidDeriveTarget) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<MacroError> for AnyDiagnostic
impl From<MacroError> for AnyDiagnostic
source§fn from(d: MacroError) -> AnyDiagnostic
fn from(d: MacroError) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<MalformedDerive> for AnyDiagnostic
impl From<MalformedDerive> for AnyDiagnostic
source§fn from(d: MalformedDerive) -> AnyDiagnostic
fn from(d: MalformedDerive) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<MismatchedArgCount> for AnyDiagnostic
impl From<MismatchedArgCount> for AnyDiagnostic
source§fn from(d: MismatchedArgCount) -> AnyDiagnostic
fn from(d: MismatchedArgCount) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<MissingFields> for AnyDiagnostic
impl From<MissingFields> for AnyDiagnostic
source§fn from(d: MissingFields) -> AnyDiagnostic
fn from(d: MissingFields) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<MissingMatchArms> for AnyDiagnostic
impl From<MissingMatchArms> for AnyDiagnostic
source§fn from(d: MissingMatchArms) -> AnyDiagnostic
fn from(d: MissingMatchArms) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<MissingUnsafe> for AnyDiagnostic
impl From<MissingUnsafe> for AnyDiagnostic
source§fn from(d: MissingUnsafe) -> AnyDiagnostic
fn from(d: MissingUnsafe) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<NoSuchField> for AnyDiagnostic
impl From<NoSuchField> for AnyDiagnostic
source§fn from(d: NoSuchField) -> AnyDiagnostic
fn from(d: NoSuchField) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<PrivateAssocItem> for AnyDiagnostic
impl From<PrivateAssocItem> for AnyDiagnostic
source§fn from(d: PrivateAssocItem) -> AnyDiagnostic
fn from(d: PrivateAssocItem) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<PrivateField> for AnyDiagnostic
impl From<PrivateField> for AnyDiagnostic
source§fn from(d: PrivateField) -> AnyDiagnostic
fn from(d: PrivateField) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<ReplaceFilterMapNextWithFindMap> for AnyDiagnostic
impl From<ReplaceFilterMapNextWithFindMap> for AnyDiagnostic
source§fn from(d: ReplaceFilterMapNextWithFindMap) -> AnyDiagnostic
fn from(d: ReplaceFilterMapNextWithFindMap) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<TypeMismatch> for AnyDiagnostic
impl From<TypeMismatch> for AnyDiagnostic
source§fn from(d: TypeMismatch) -> AnyDiagnostic
fn from(d: TypeMismatch) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<UnimplementedBuiltinMacro> for AnyDiagnostic
impl From<UnimplementedBuiltinMacro> for AnyDiagnostic
source§fn from(d: UnimplementedBuiltinMacro) -> AnyDiagnostic
fn from(d: UnimplementedBuiltinMacro) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<UnresolvedExternCrate> for AnyDiagnostic
impl From<UnresolvedExternCrate> for AnyDiagnostic
source§fn from(d: UnresolvedExternCrate) -> AnyDiagnostic
fn from(d: UnresolvedExternCrate) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<UnresolvedImport> for AnyDiagnostic
impl From<UnresolvedImport> for AnyDiagnostic
source§fn from(d: UnresolvedImport) -> AnyDiagnostic
fn from(d: UnresolvedImport) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<UnresolvedMacroCall> for AnyDiagnostic
impl From<UnresolvedMacroCall> for AnyDiagnostic
source§fn from(d: UnresolvedMacroCall) -> AnyDiagnostic
fn from(d: UnresolvedMacroCall) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<UnresolvedModule> for AnyDiagnostic
impl From<UnresolvedModule> for AnyDiagnostic
source§fn from(d: UnresolvedModule) -> AnyDiagnostic
fn from(d: UnresolvedModule) -> AnyDiagnostic
Converts to this type from the input type.
source§impl From<UnresolvedProcMacro> for AnyDiagnostic
impl From<UnresolvedProcMacro> for AnyDiagnostic
source§fn from(d: UnresolvedProcMacro) -> AnyDiagnostic
fn from(d: UnresolvedProcMacro) -> AnyDiagnostic
Converts to this type from the input type.