static UNUSED_COMPARISONS: &Lint
The unused_comparisons lint detects comparisons made useless by limits of the types involved.
unused_comparisons
fn foo(x: u8) { x >= 0; }
{{produces}}
A useless comparison may indicate a mistake, and should be fixed or removed.