[−][src]Trait rustc_session::session::SessionDiagnostic
Trait implemented by error types. This should not be implemented manually. Instead, use
#[derive(SessionDiagnostic)] -- see rustc_macros::SessionDiagnostic.
Required methods
#[must_use]pub fn into_diagnostic(self, sess: &'a Session) -> DiagnosticBuilder<'a>[src]
Write out as a diagnostic out of sess.