You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
*[View all
comments](https://triagebot.infra.rust-lang.org/gh-comments/rust-lang/rust-clippy/pull/16257)*
This adds a Clippy lint for the possible confusing behaviour pointed out
in rust-lang/rust#150084 and
rust-lang/rust#111514, and discussed in
rust-lang/libs-team#304.
While no consensus have been reached in the API Change Proposal linked
above I thought that it would still make sense to add a Clippy lint for
the time being.
Open questions:
- Which group should it be in?
- Should it give warnings for `AsciiChar`, `Ipv4Addr` and `Ipv6Addr`?
(Currently these will always panic when running over the max value)
changelog: new lint: [`for_unbounded_range`]
0 commit comments