diff options
| author | bors <bors@rust-lang.org> | 2024-05-16 16:48:58 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2024-05-16 16:48:58 +0000 |
| commit | 2d89cee6258ed0029268ef33e13cc63e433bd243 (patch) | |
| tree | ea105210000b14aac56fdc4482c7292f85b29baa /compiler/rustc_mir_transform/src/shim.rs | |
| parent | 97bf25c8cf6c7c97c851c6e8bc94fd0824885e6f (diff) | |
| parent | 5cc4ee3d882d96a46ba75ffe17669feaddcae64b (diff) | |
| download | rust-2d89cee6258ed0029268ef33e13cc63e433bd243.tar.gz rust-2d89cee6258ed0029268ef33e13cc63e433bd243.zip | |
Auto merge of #124728 - beetrees:from-f16-for-f64, r=BurntSushi
Re-add `From<f16> for f64`
This impl was originally added in #122470 before being removed in #123830 due to #123831. However, the issue only affects `f32` (which currently only has one `From<{float}>` impl, `From<f32>`) as `f64` already has two `From<{float}>` impls (`From<f32>` and `From<f64>`) and is also the float literal fallback type anyway. Therefore it is safe to re-add `From<f16> for f64`.
This PR also updates the FIXME link to point to the open issue #123831 rather than the closed issue #123824.
Tracking issue: #116909
`@rustbot` label +F-f16_and_f128 +T-libs-api
Diffstat (limited to 'compiler/rustc_mir_transform/src/shim.rs')
0 files changed, 0 insertions, 0 deletions
