-
Notifications
You must be signed in to change notification settings - Fork 12.8k
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
Clippy: consider msrv for const context for const_float_bits_conv #130305
Clippy: consider msrv for const context for const_float_bits_conv #130305
Conversation
rustbot has assigned @Mark-Simulacrum. Use |
Some changes occurred in src/tools/clippy cc @rust-lang/clippy |
…lints This reverts the part of commit 19908ff in subdirectory src/tools/clippy/clippy_lints.
9d6186f
to
581f192
Compare
Thanks for the contribution and good catch! Please open this PR in the Clippy repo. Opening here just makes release management and syncing more difficult. This PR will get synced to this repo in time, so that this bug doesn't land in 1.83.0 stable. |
I cannot open this in the clippy repo yet as the change introducing the issue has not landed in the clippy repo yet. Should I wait for the issue to get synced into clippy and open the PR there after the sync? |
@bors rollup |
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#129320 (Fix crash when labeling arguments for call_once and friends) - rust-lang#130266 (target: default to the medium code model on LoongArch targets) - rust-lang#130297 (Dataflow cleanups) - rust-lang#130299 (Add set_dcx to ParseSess) - rust-lang#130301 (some fixes for clashing_extern_declarations lint) - rust-lang#130305 (Clippy: consider msrv for const context for const_float_bits_conv) r? `@ghost` `@rustbot` modify labels: rollup
…iaskrgr Rollup of 6 pull requests Successful merges: - rust-lang#129320 (Fix crash when labeling arguments for call_once and friends) - rust-lang#130266 (target: default to the medium code model on LoongArch targets) - rust-lang#130297 (Dataflow cleanups) - rust-lang#130299 (Add set_dcx to ParseSess) - rust-lang#130301 (some fixes for clashing_extern_declarations lint) - rust-lang#130305 (Clippy: consider msrv for const context for const_float_bits_conv) r? `@ghost` `@rustbot` modify labels: rollup
Rollup merge of rust-lang#130305 - tspiteri:clippy-msrv-for-const_float_bits_conv, r=flip1995 Clippy: consider msrv for const context for const_float_bits_conv When `const_float_bits_conv` was stabilized for 1.83.0, clippy lints started to be triggered in const context ignoring MSRV. This PR makes the lints trigger in const context only when the MSRV meets 1.83.0. Fixes rust-lang/rust-clippy#13383.
When
const_float_bits_conv
was stabilized for 1.83.0, clippy lints started to be triggered in const context ignoring MSRV. This PR makes the lints trigger in const context only when the MSRV meets 1.83.0.Fixes rust-lang/rust-clippy#13383.