Struct rustc_resolve::DiagnosticBuilder [−][src]
pub(crate) struct DiagnosticBuilder<'a>(Box<DiagnosticBuilderInner<'a>, Global>);Expand description
Used for emitting structured error messages and other diagnostic information.
If there is some state in a downstream crate you would like to
access in the methods of DiagnosticBuilder here, consider
extending HandlerFlags, accessed via self.handler.flags.
Tuple Fields
0: Box<DiagnosticBuilderInner<'a>, Global>Auto Trait Implementations
impl<'a> !RefUnwindSafe for DiagnosticBuilder<'a>
impl<'a> !Send for DiagnosticBuilder<'a>
impl<'a> !Sync for DiagnosticBuilder<'a>
impl<'a> Unpin for DiagnosticBuilder<'a>
impl<'a> !UnwindSafe for DiagnosticBuilder<'a>
Blanket Implementations
Mutably borrows from an owned value. Read more
Layout
Note: Most layout information is completely unstable and may even differ between compilations. The only exception is types with certain repr(...) attributes. Please see the Rust Reference’s “Type Layout” chapter for details on type layout guarantees.
Size: 8 bytes