about summary refs log tree commit diff
path: root/compiler/rustc_interface/src/errors.rs
diff options
context:
space:
mode:
authorMatthias Krüger <matthias.krueger@famsik.de>2024-04-12 13:35:30 +0200
committerGitHub <noreply@github.com>2024-04-12 13:35:30 +0200
commitbcf24d6467018f1f718e0dcd44155abaa8acfbac (patch)
treeefcc556766d707193b9bce1c4059e7fe7746ab8f /compiler/rustc_interface/src/errors.rs
parentb467eddf64c1fa1237945e46bdb7ed47811a9535 (diff)
parent9bcc98818c9b59dd0106aed95c4349c2c8ecdc48 (diff)
downloadrust-bcf24d6467018f1f718e0dcd44155abaa8acfbac.tar.gz
rust-bcf24d6467018f1f718e0dcd44155abaa8acfbac.zip
Rollup merge of #123830 - tgross35:f16-f128-from-inference-fix, r=Nilstrieb
Remove `From` impls for unstable types that break inference

Adding additional `From` implementations that fit `f32::from(<unaffixed float>)` broke inference. Remove these for now.

I added a test to make sure this doesn't quietly change in the future, even though the behavior is not technically guaranteed https://github.com/rust-lang/rust/issues/123824#issuecomment-2050628184

Fixes: <https://github.com/rust-lang/rust/issues/123824>
Diffstat (limited to 'compiler/rustc_interface/src/errors.rs')
0 files changed, 0 insertions, 0 deletions