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 diagnostics created manually,
and inside an IntoDiagnostic
/AddToDiagnostic
implementation,
or a #[derive(Diagnostic)]
/#[derive(Subdiagnostic)]
expansion.
More details on diagnostics implementations can be found here.