rust-lang / rust-analyzer

A Rust compiler front-end for IDEs
https://rust-analyzer.github.io/
Apache License 2.0
14.17k stars 1.58k forks source link

Add `f16` and `f128` support (add to `FloatTy`) #17451

Open tgross35 opened 3 months ago

tgross35 commented 3 months ago

FloatTy in rustc has f16 and f128 now. It would probably be pretty easy to update RA's FloatTy to match and propagate that out.

tgross35 commented 3 months ago

Probably pretty easy

@rustbot label +E-easy +A-hir

rustbot commented 3 months ago

Error: Label E-easy can only be set by Rust team members

Please file an issue on GitHub at triagebot if there's a problem with this bot, or reach out on #t-infra on Zulip.

Veykril commented 3 months ago

That will require changes to chalk

beetrees commented 3 months ago

Now that #17572 has been merged, all that's left for this issue is to:

Most of the former will probably require the later since rustc_apfloat only supports basic arithmetic operations.