mirror of
https://github.com/rust-lang/rust.git
synced 2026-05-21 17:52:12 +03:00
18e5b2db4a
Fixes: rust-lang/rust-clippy#16555 changelog: [unnecessary_min_or_max]: Fix false negatives for usize::{MIN,MAX} by handling usize bit width correctly during constant evaluation, enabling the lint to trigger on cases like n.min(0) / n.max(usize::MAX).