pub(crate) fn detect_mixed_deref_pat_ctors<'p, Cx: PatCx>( cx: &Cx, arms: &[MatchArm<'p, Cx>], ) -> Result<(), Cx::Error>
Validate that deref patterns and normal constructors aren’t used to match on the same place.