A RetroSearch Logo

Home - News ( United States | United Kingdom | Italy | Germany ) - Football scores

Search Query:

Showing content from https://doc.rust-lang.org/nightly/nightly-rustc/rustc_errors/trait.LintDiagnostic.html below:

LintDiagnostic in rustc_errors - Rust

rustc_errors Trait LintDiagnosticSource
pub trait LintDiagnostic<'a, G: EmissionGuarantee> {
    // Required method
    fn decorate_lint<'b>(self, diag: &'b mut Diag<'a, G>);
}
Expand description

Trait implemented by lint types. This should not be implemented manually. Instead, use #[derive(LintDiagnostic)] – see rustc_macros::LintDiagnostic.

Required Methods§ Source fn decorate_lint<'b>(self, diag: &'b mut Diag<'a, G>)

Decorate and emit a lint.

Implementors§

RetroSearch is an open source project built by @garambo | Open a GitHub Issue

Search and Browse the WWW like it's 1997 | Search results from DuckDuckGo

HTML: 3.2 | Encoding: UTF-8 | Version: 0.7.4