Skip to content

Commit

Permalink
Auto merge of rust-lang#114732 - gurry:issue-114683, r=compiler-errors
Browse files Browse the repository at this point in the history
Fix typo in suggest.rs where f32 was used instead of f64

Fixes rust-lang#114683
  • Loading branch information
bors committed Aug 13, 2023
2 parents 7455aa5 + e903752 commit bd54536
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion compiler/rustc_hir_typeck/src/method/suggest.rs
Original file line number Diff line number Diff line change
Expand Up @@ -1681,7 +1681,7 @@ impl<'a, 'tcx> FnCtxt<'a, 'tcx> {
|| 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()
Expand Down

0 comments on commit bd54536

Please sign in to comment.