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.
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