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