rustc_ty_utils::consts

Function check_unop

Source
fn check_unop(op: UnOp) -> bool
Expand description

While we currently allow all unary operations, we still want to explicitly guard against future changes here.