Skip to content

Overflowing literals lint should mention the type #21807

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

Closed
mahkoh opened this issue Jan 31, 2015 · 1 comment
Closed

Overflowing literals lint should mention the type #21807

mahkoh opened this issue Jan 31, 2015 · 1 comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints A-lints Area: Lints (warnings about flaws in source code) such as unused_mut.

Comments

@mahkoh
Copy link
Contributor

mahkoh commented Jan 31, 2015

<anon>:14:17: 14:37 warning: literal out of range for its type, #[warn(overflowing_literals)] on by default
<anon>:14         let x = 18446744073709551615; x
                          ^~~~~~~~~~~~~~~~~~~~
@nagisa
Copy link
Member

nagisa commented Jan 31, 2015

Taking this.

@kmcallister kmcallister added A-diagnostics Area: Messages for errors, warnings, and lints A-lints Area: Lints (warnings about flaws in source code) such as unused_mut. labels Feb 1, 2015
@bors bors closed this as completed in 64ca751 Feb 3, 2015
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
A-diagnostics Area: Messages for errors, warnings, and lints A-lints Area: Lints (warnings about flaws in source code) such as unused_mut.
Projects
None yet
Development

No branches or pull requests

3 participants