Auto merge of #114732 - gurry:issue-114683, r=compiler-errors

Fix typo in suggest.rs where f32 was used instead of f64

Fixes #114683
This commit is contained in:
bors 2023-08-13 07:31:48 +00:00
commit bd54536e12

View File

@ -1681,7 +1681,7 @@ fn suggest_constraining_numerical_ty(
|| found_assoc(tcx.types.u64)
|| found_assoc(tcx.types.u128)
|| found_assoc(tcx.types.f32)
|| found_assoc(tcx.types.f32);
|| found_assoc(tcx.types.f64);
if found_candidate
&& actual.is_numeric()
&& !actual.has_concrete_skeleton()