[−][src]Struct rustc_middle::lint::LintDiagnosticBuilder

pub struct LintDiagnosticBuilder<'a>(DiagnosticBuilder<'a>);

Implementations

impl<'a> LintDiagnosticBuilder<'a>[src]

pub fn build(self, msg: &str) -> DiagnosticBuilder<'a>[src]

Return the inner DiagnosticBuilder, first setting the primary message to msg.

pub fn new(err: DiagnosticBuilder<'a>) -> LintDiagnosticBuilder<'a>[src]

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

impl<T> Any for T where
    T: 'static + ?Sized, 
[src]

impl<T> Borrow<T> for T where
    T: ?Sized, 
[src]

impl<T> BorrowMut<T> for T where
    T: ?Sized, 
[src]

impl<'a, T> Captures<'a> for T where
    T: ?Sized, 
[src]

impl<T> From<T> for T[src]

impl<T, U> Into<U> for T where
    U: From<T>, 
[src]

impl<T> MaybeResult<T> for T[src]

type Error = !

impl<T, U> TryFrom<U> for T where
    U: Into<T>, 
[src]

type Error = Infallible

The type returned in the event of a conversion error.

impl<T, U> TryInto<U> for T where
    U: TryFrom<T>, 
[src]

type Error = <U as TryFrom<T>>::Error

The type returned in the event of a conversion error.

impl<T> WithConstness for T[src]