decimal-bitwise-operand Disallow opaque decimal masks in bitwise operations Multi-digit decimal masks obscure the bit pattern used by a bitwise operation. Instead, you SHOULD write the mask in binary, hexadecimal, or octal notation. - Category: style - Level: warning - Fix: none - Scope: module Reported declare const value: uint32; const masked = value & 240; Accepted declare const value: uint32; const masked = value & 0xf0; Prior art - Clippy ยท decimalbitwiseoperands language/linter/src/rules/style/decimalbitwiseoperand.rs:7