fn enforce_mem_variant_count(
    cx: &LateContext<'_>,
    func_expr: &Expr<'_>,
    span: Span,
)