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