Static rustc_lint::internal::DIAGNOSTIC_OUTSIDE_OF_IMPL

source ยท
pub static DIAGNOSTIC_OUTSIDE_OF_IMPL: &Lint
Expand description

The diagnostic_outside_of_impl lint detects calls to functions annotated with #[rustc_lint_diagnostics] that are outside an Diagnostic, Subdiagnostic, or LintDiagnostic impl (either hand-written or derived).

More details on diagnostics implementations can be found here.