rustc_const_eval::util

Function binop_left_homogeneous

source
pub fn binop_left_homogeneous(op: BinOp) -> bool
Expand description

Classify whether an operator is “left-homogeneous”, i.e., the LHS has the same type as the result.