Skip to content

Commit d3fe613

Browse files
authored
Rollup merge of rust-lang#114732 - gurry:issue-114683, r=compiler-errors
Fix typo in suggest.rs where f32 was used instead of f64 Fixes rust-lang#114683
2 parents 3c8f97a + e903752 commit d3fe613

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_hir_typeck/src/method/suggest.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -1681,7 +1681,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
16811681
|| found_assoc(tcx.types.u64)
16821682
|| found_assoc(tcx.types.u128)
16831683
|| found_assoc(tcx.types.f32)
1684-
|| found_assoc(tcx.types.f32);
1684+
|| found_assoc(tcx.types.f64);
16851685
if found_candidate
16861686
&& actual.is_numeric()
16871687
&& !actual.has_concrete_skeleton()

0 commit comments

Comments
 (0)