Struct rustc_middle::lint::LintDiagnosticBuilder [−][src]
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<'a>
impl<'a> !Send for LintDiagnosticBuilder<'a>
impl<'a> !Sync for LintDiagnosticBuilder<'a>
impl<'a> Unpin for LintDiagnosticBuilder<'a>
impl<'a> !UnwindSafe for LintDiagnosticBuilder<'a>
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