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

Crate does not compile with rust nightly #12

Description

@anatol

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)

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

      Milestone

      No milestone

      Relationships

      None yet

      Development

      No branches or pull requests

      Issue actions