-
Notifications
You must be signed in to change notification settings - Fork 1.6k
Disable range_minus_one when type is explicity RangeInclusive #4898
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
Comments
Basically, the equivalent of #3307, but for |
Let's track this in #3307 |
rivy
added a commit
to rivy/rs.coreutils
that referenced
this issue
Dec 29, 2019
…; `clippy` bug workaround) * ref: <rust-lang/rust-clippy#4898>
rivy
added a commit
to rivy/rs.coreutils
that referenced
this issue
Dec 29, 2019
…; `clippy` bug workaround) * ref: <rust-lang/rust-clippy#4898>
rivy
added a commit
to rivy/rs.coreutils
that referenced
this issue
Dec 29, 2019
…; `clippy` bug workaround) * ref: <rust-lang/rust-clippy#4898>
rivy
added a commit
to rivy/rs.coreutils
that referenced
this issue
Dec 30, 2019
…; `clippy` bug workaround) * ref: <rust-lang/rust-clippy#4898>
rivy
added a commit
to rivy/rs.coreutils
that referenced
this issue
Dec 30, 2019
…; `clippy` bug workaround) * ref: <rust-lang/rust-clippy#4898>
rivy
added a commit
to rivy/rs.coreutils
that referenced
this issue
Dec 30, 2019
…; `clippy` bug workaround) * ref: <rust-lang/rust-clippy#4898>
rivy
added a commit
to rivy/rs.coreutils
that referenced
this issue
Dec 30, 2019
…; `clippy` bug workaround) * ref: <rust-lang/rust-clippy#4898>
rivy
added a commit
to rivy/rs.coreutils
that referenced
this issue
Dec 30, 2019
…; `clippy` bug workaround) * ref: <rust-lang/rust-clippy#4898>
rivy
added a commit
to rivy/rs.coreutils
that referenced
this issue
Jan 28, 2020
…; `clippy` bug workaround) * ref: <rust-lang/rust-clippy#4898>
rivy
added a commit
to rivy/rs.coreutils
that referenced
this issue
Jan 28, 2020
…; `clippy` bug workaround) * ref: <rust-lang/rust-clippy#4898>
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Clippy gives me the hint;
However,
init_range
in the struct in question, is defined as anInclusiveRange
. (By design, matching HTTP-Range).It would be great if clippy could use the type-info from the context to disable inappropriate hints like this.
The text was updated successfully, but these errors were encountered: