Skip to content
This repository has been archived by the owner on Nov 21, 2018. It is now read-only.

Crate does not compile with rust nightly #12

Open
anatol opened this issue Feb 18, 2017 · 1 comment
Open

Crate does not compile with rust nightly #12

anatol opened this issue Feb 18, 2017 · 1 comment

Comments

@anatol
Copy link

anatol commented Feb 18, 2017

I am trying to use this library with the latest rust nightly and it fails to compile:

$ rustc --version
rustc 1.17.0-nightly (536a900c4 2017-02-17)
error: invalid suffix `i` for numeric literal
  --> /home/anatol/.cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:68:21
   |
68 |     let mut d_len = 0i;
   |                     ^^
   |
   = help: the suffix must be one of the integral types (`u32`, `isize`, etc)

error: invalid suffix `i` for numeric literal
  --> /home/anatol/.cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:73:21
   |
73 |     let mut f_len = 0i;
   |                     ^^
   |
   = help: the suffix must be one of the integral types (`u32`, `isize`, etc)

error: invalid suffix `i` for numeric literal
  --> /home/anatol/.cargo/registry/src/github.com-1ecc6299db9ec823/hexfloat-0.1.3/src/lib.rs:83:21
   |
83 |     let mut e_len = 0i;
   |                     ^^
   |
   = help: the suffix must be one of the integral types (`u32`, `isize`, etc)
@lambda-fairy
Copy link

For a more up-to-date version, see hexf.

Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

2 participants