Enum ra_ap_hir_def::body::BodyDiagnostic [−][src]
pub enum BodyDiagnostic { InactiveCode { node: InFile<SyntaxNodePtr>, cfg: CfgExpr, opts: CfgOptions, }, MacroError { node: InFile<AstPtr<MacroCall>>, message: String, }, UnresolvedProcMacro { node: InFile<AstPtr<MacroCall>>, }, UnresolvedMacroCall { node: InFile<AstPtr<MacroCall>>, path: ModPath, }, }
Variants
Show fields
Fields of InactiveCode
Trait Implementations
This method tests for self
and other
values to be equal, and is used
by ==
. Read more
This method tests for !=
.
Auto Trait Implementations
impl RefUnwindSafe for BodyDiagnostic
impl Send for BodyDiagnostic
impl Sync for BodyDiagnostic
impl Unpin for BodyDiagnostic
impl UnwindSafe for BodyDiagnostic
Blanket Implementations
Mutably borrows from an owned value. Read more
Compare self to key
and return true
if they are equal.