Function promote_numeric_types

Source
pub fn promote_numeric_types(lhs: &Ty, rhs: &Ty) -> Option<Ty>
Expand description

Return promoted numeric type for mixed arithmetic operands.