Function rustc_const_eval::util::binop_right_homogeneous
source · pub(crate) fn binop_right_homogeneous(op: BinOp) -> bool
Expand description
Classify whether an operator is “right-homogeneous”, i.e., the RHS has the same type as the LHS.