Struct tvm::ir::diagnostics::DiagnosticBuilder [−][src]
pub struct DiagnosticBuilder {
pub level: DiagnosticLevel,
pub span: Span,
pub message: String,
}Expand description
A wrapper around std::stringstream to build a diagnostic.
Fields
level: DiagnosticLevelThe level.
span: SpanThe span of the diagnostic.
message: StringThe in progress message.
Implementations
Auto Trait Implementations
impl RefUnwindSafe for DiagnosticBuilder
impl !Send for DiagnosticBuilder
impl !Sync for DiagnosticBuilder
impl Unpin for DiagnosticBuilder
impl UnwindSafe for DiagnosticBuilder
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
