This line looks like a typo to me, should it be f64?
Originally posted by @sunmy2019 in #94963 (comment)
Currently, it affects line 1684.
|
|| found_assoc(tcx.types.i64) |
|
|| found_assoc(tcx.types.i128) |
|
|| found_assoc(tcx.types.u8) |
|
|| found_assoc(tcx.types.u16) |
|
|| found_assoc(tcx.types.u32) |
|
|| found_assoc(tcx.types.u64) |
|
|| found_assoc(tcx.types.u128) |
|
|| found_assoc(tcx.types.f32) |
|
|| found_assoc(tcx.types.f32); |
|
if found_candidate |
|
&& actual.is_numeric() |
This line looks like a typo to me, should it be
f64?Originally posted by @sunmy2019 in #94963 (comment)
Currently, it affects line 1684.
rust/compiler/rustc_hir_typeck/src/method/suggest.rs
Lines 1676 to 1686 in 832db2f