rustc_const_eval::util

Function binop_right_homogeneous

source
pub 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.