pub(crate) fn inactive_code( ctx: &DiagnosticsContext<'_, '_>, d: &InactiveCode, ) -> Option<Diagnostic>