Skip to main content

diagnostic_lint_code

Function diagnostic_lint_code 

Source
pub fn diagnostic_lint_code(diagnostic: &Diagnostic) -> Option<LintCode>
Expand description

The LintCode carried by an LSP diagnostic, when it is one of ours.