pub(crate) fn mismatched_arg_count( ctx: &DiagnosticsContext<'_, '_>, d: &MismatchedArgCount, ) -> Diagnostic