about summary refs log tree commit diff
path: root/src/test/codegen/src-hash-algorithm
diff options
context:
space:
mode:
authorbors <bors@rust-lang.org>2022-09-01 13:18:17 +0000
committerbors <bors@rust-lang.org>2022-09-01 13:18:17 +0000
commita80e278036f5d79d8987920496990ea0810ac110 (patch)
tree902ebee8c958e36c9759e66d8d19d510b485ba6e /src/test/codegen/src-hash-algorithm
parent291f75e1fbf364561eabaa13c0ef6c6290122c65 (diff)
parent6e14e60af45ebc79f06eeeb75004e77de4658a80 (diff)
downloadrust-a80e278036f5d79d8987920496990ea0810ac110.tar.gz
rust-a80e278036f5d79d8987920496990ea0810ac110.zip
Auto merge of #9404 - lukaslueg:issue9402, r=giraffate
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
Diffstat (limited to 'src/test/codegen/src-hash-algorithm')
0 files changed, 0 insertions, 0 deletions