rust/tests
bors 5cc5f27899 Auto merge of #11385 - markhuang1212:master, r=blyxyas
skip float_cmp check if lhs is a custom type

*Please write a short comment explaining your change (or "none" for internal only changes)*

changelog: [`float_cmp`]: allow float eq comparison when lhs is a custom type that implements PartialEq<f32/f64>

If the lhs of a comparison is not float, it means there is a user implemented PartialEq, and the caller is invoking that custom version of `==`, instead of the default floating point equal comparison.

People may wrap f32 with a struct (say `MyF32`) and implement its PartialEq that will do the `is_close()` check, so that `MyF32` can be compared with either f32 or `MyF32`.
2023-08-28 18:27:53 +00:00
..
test_utils
ui Auto merge of #11385 - markhuang1212:master, r=blyxyas 2023-08-28 18:27:53 +00:00
ui-cargo
ui-internal
ui-toml Remove redundant auxiliary test files 2023-08-25 14:25:49 +00:00
workspace_test
check-fmt.rs
clippy.toml
compile-test.rs Use ui_test's Windows path backslash heuristic 2023-08-14 15:59:00 +00:00
dogfood.rs
headers.rs
integration.rs
lint_message_convention.rs
missing-test-files.rs
versioncheck.rs
workspace.rs