Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

Clippy lint catches unseparated literal suffix #137

Closed
dtolnay opened this issue Aug 14, 2016 · 0 comments
Closed

Clippy lint catches unseparated literal suffix #137

dtolnay opened this issue Aug 14, 2016 · 0 comments

Comments

@dtolnay
Copy link
Member

dtolnay commented Aug 14, 2016

error: integer type suffix should be separated by an underscore
   --> /home/travis/build/serde-rs/json/json/src/read.rs:460:17
    |
460 |     let mut n = 0u16;
    |                 ^^^^
    |
note: lint level defined here
   --> /home/travis/build/serde-rs/json/json/src/lib.rs:120:46
    |
120 | #![cfg_attr(feature = "clippy", deny(clippy, clippy_pedantic))]
    |                                              ^^^^^^^^^^^^^^^
    = help: for further information visit https://github.com/Manishearth/rust-clippy/wiki#unseparated_literal_suffix

https://github.com/Manishearth/rust-clippy/pull/1145

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

No branches or pull requests

1 participant