HomeFreeBSD

shells/ion: Unbreak with Rust 1.53.0

Description

shells/ion: Unbreak with Rust 1.53.0

errorr[E0308]: mismatched types

--> cargo-crates/lexical-core-0.4.2/src/atof/algorithm/bigcomp.rs:242:55
 |

242 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1);

|                                                       ^^^^^^^^^^^^^^^ expected `usize`, found `u32`

error[E0277]: no implementation for usize & u32

http://package18.nyi.freebsd.org/data/122amd64-default-foo/2021-06-18_08h51m30s/logs/errors/ion-shell-1.0.5.1355_20.log

PR: 256653

Details

Provenance
tobikAuthored on Jun 19 2021, 11:55 AM
Parents
R11:feb2e9bf6712: *: Clean up some things
Branches
Unknown
Tags
Unknown