diff options
author | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-22 12:27:54 +0000 |
---|---|---|
committer | bors[bot] <bors[bot]@users.noreply.github.com> | 2019-03-22 12:27:54 +0000 |
commit | 6bc09e2ff82c588d3923aed3fe3c869e8aa70dc1 (patch) | |
tree | e8682a3f3a5017932dd31decc979daca7d9a2daa /crates/ra_ide_api_light/src/folding_ranges.rs | |
parent | 2a6544f906818263e2791bc4cdf4fcbdf7260ab9 (diff) | |
parent | 504c8c7c2e371f2adccbc292ad09af2b31e05787 (diff) |
Merge #1015
1015: Change primitive integers to have signedness and bitness r=matklad a=yanchith
Fixes #1004
This creates enums: `Signedness`, `IntBitness` and `FloatBitness`, and condenses `UintTy` with `IntTy`, making use of the created enums. `FloatTy` is also changed from an enum into a struct containing `FloatBitness`.
`UncertainIntTy` and `UncertainFloatTy` now look much more similar.
`Ord` was removed from the types because `{u,i}size` aren't easily orderable with the rest. Fortunately this wasn't depended on anywhere.
Co-authored-by: yanchith <[email protected]>
Diffstat (limited to 'crates/ra_ide_api_light/src/folding_ranges.rs')
0 files changed, 0 insertions, 0 deletions