Static rustc_lint::internal::DIAGNOSTIC_OUTSIDE_OF_IMPL
source · pub static DIAGNOSTIC_OUTSIDE_OF_IMPL: &LintExpand description
The diagnostic_outside_of_impl lint detects calls to functions annotated with
#[rustc_lint_diagnostics] that are outside an IntoDiagnostic, AddToDiagnostic, or
DecorateLint impl, or a #[derive(Diagnostic)], #[derive(Subdiagnostic)],
#[derive(DecorateLint)] expansion.
More details on diagnostics implementations can be found here.