Struct tvm::ir::diagnostics::DiagnosticNode [−][src]
#[repr(C)]pub struct DiagnosticNode {
pub base: Object,
pub level: DiagnosticLevel,
pub span: Span,
pub message: TString,
}
Expand description
A compiler diagnostic.
Fields
base: Object
level: DiagnosticLevel
The level.
span: Span
The span at which to report an error.
message: TString
The diagnostic message.
Trait Implementations
Performs the conversion.
Auto Trait Implementations
impl RefUnwindSafe for DiagnosticNode
impl !Send for DiagnosticNode
impl !Sync for DiagnosticNode
impl Unpin for DiagnosticNode
impl UnwindSafe for DiagnosticNode
Blanket Implementations
Mutably borrows from an owned value. Read more
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