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:
commit
bd54536e12
@ -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()
|
||||
|
Loading…
Reference in New Issue
Block a user