to make it buildable with the latest nigthly toolchain. Without
this patch it fails to compile with
error[E0308]: mismatched types
--> /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.4.6/src/atof/algorithm/bigcomp.rs:243:55
|
243 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1);
| ^^^^^^^^^^^^^^^ expected `usize`, found `u32`
error[E0277]: no implementation for `usize & u32`
--> /home/vagrant/.cargo/registry/src/github.com-1ecc6299db9ec823/lexical-core-0.4.6/src/atof/algorithm/bigcomp.rs:243:53
|
243 | let nlz = den.leading_zeros().wrapping_sub(wlz) & (u32::BITS - 1);
| ^ no implementation for `usize & u32`
|
= help: the trait `BitAnd<u32>` is not implemented for `usize`
error[E0277]: the trait bound `[u16; 260]: TryFromCtx<'_, _>` is not satisfied
--> /home/vagrant/.cargo/git/checkouts/rust-minidump-836c4af26fbfd1e5/4d95707/minidump-common/src/format.rs:1322:25
|
1322 | #[derive(Clone, Pread, SizeWith)]
| ^^^^^ the trait `TryFromCtx<'_, _>` is not implemented for `[u16; 260]`
...
1331 | / multi_structs! {
1332 | | /// Miscellaneous process information
1333 | | ///
1334 | | /// This struct matches the [Microsoft struct][msdn] of the same name.
... |
1376 | | }
1377 | | }
| |_- in this macro invocation
|
= help: the following implementations were found:
<&'a [u8] as TryFromCtx<'a, usize>>
= note: this error originates in the derive macro `Pread` (in Nightly builds, run with -Z macro-backtrace for more info)
to make it buildable with the latest nigthly toolchain. Without this patch it fails to compile with