rustc_ty_utils::consts

Function check_binop

Source
fn check_binop(op: BinOp) -> bool
Expand description

We do not allow all binary operations in abstract consts, so filter disallowed ones.