Struct rustc_middle::lint::LintDiagnosticBuilder
source · [−]pub struct LintDiagnosticBuilder<'a>(DiagnosticBuilder<'a>);Tuple Fields
0: DiagnosticBuilder<'a>Implementations
Return the inner DiagnosticBuilder, first setting the primary message to msg.
Create a LintDiagnosticBuilder from some existing DiagnosticBuilder.
Auto Trait Implementations
impl<'a> !RefUnwindSafe for LintDiagnosticBuilder
impl<'a> !Send for LintDiagnosticBuilder
impl<'a> !Sync for LintDiagnosticBuilder
impl<'a> Unpin for LintDiagnosticBuilder
impl<'a> !UnwindSafe for LintDiagnosticBuilder
Blanket Implementations
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