mirror of
https://github.com/rust-lang/rust.git
synced 2024-12-01 03:03:40 +00:00
a80e278036
Fix `suboptimal_float` not linting on `{const}.powf({const})` There used to be an early return if the receiver was an effective const but the method was not linted, not taking into account later cases where the receiver and the arguments are both effective consts for different methods. Removed the early return. Fixes #9402 Fixes #9201 changelog: Fix `suboptimal_flops`, `imprecise_flops` not linting on `{const}.powf({const})` et al |
||
---|---|---|
.. | ||
test_utils | ||
ui | ||
ui-cargo | ||
ui-internal | ||
ui-toml | ||
workspace_test | ||
check-fmt.rs | ||
clippy.toml | ||
compile-test.rs | ||
dogfood.rs | ||
integration.rs | ||
lint_message_convention.rs | ||
missing-test-files.rs | ||
versioncheck.rs | ||
workspace.rs |