Skip to content

Conversation

tgross35
Copy link
Contributor

@tgross35 tgross35 commented Apr 29, 2025

These appeared in a later nightly. In compiler-builtins we can apply the suggestion, but in libm we need to ignore them since fx::from_bits is not const at the MSRV.

clippy::uninlined_format_args also seems to have gotten stricter, so fix those here.

@tgross35 tgross35 force-pushed the lint-fixes branch 3 times, most recently from 918ca38 to 690d108 Compare April 29, 2025 21:22
These appeared in a later nightly. In compiler-builtins we can apply the
suggestion, but in `libm` we need to ignore them since `fx::from_bits`
is not `const` at the MSRV.

`clippy::uninlined_format_args` also seems to have gotten stricter, so
fix those here.
@tgross35 tgross35 enabled auto-merge (rebase) April 29, 2025 21:37
@tgross35 tgross35 merged commit 99b4c19 into rust-lang:master Apr 29, 2025
35 checks passed
@tgross35 tgross35 deleted the lint-fixes branch April 29, 2025 22:27
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Labels

None yet

Projects

None yet

Development

Successfully merging this pull request may close these issues.

1 participant