-
Notifications
You must be signed in to change notification settings - Fork 13.2k
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
Out-of-range float literals are not checked by type-limits lint #10934
Labels
A-lints
Area: Lints (warnings about flaws in source code) such as unused_mut.
Comments
I worked on this but unforunately rust's |
hirschenberger
added a commit
to hirschenberger/rust
that referenced
this issue
Jul 7, 2014
hirschenberger
added a commit
to hirschenberger/rust
that referenced
this issue
Jul 10, 2014
bors
added a commit
that referenced
this issue
Jul 10, 2014
Closed by #14519, thanks @hirschenberger! |
flip1995
pushed a commit
to flip1995/rust
that referenced
this issue
Jun 30, 2023
…iraffate new lint [`single_range_in_vec_init`] Lints on `vec![0..200]` (or `[0..200]`), suggesting either `(0..200).collect::<Vec<i32>>()` or `[0; 200]`. Haven't tested it with anything that isn't primitive. Probably should! Closes rust-lang#10932 changelog: new lint [`single_range_in_vec_init`]
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
e.g.
The text was updated successfully, but these errors were encountered: