-
Notifications
You must be signed in to change notification settings - Fork 12.7k
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
Overflowing literal lint is silenced in range literals in loops on nightly #60459
Labels
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
P-high
High priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
Comments
varkor
added
the
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
label
May 1, 2019
It is hitting the rust/src/librustc_lint/types.rs Line 102 in 9b67bd4
So I'm not quite sure why the error isn't being emitted yet. |
jonas-schievink
added
C-bug
Category: This is a bug.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
labels
May 2, 2019
It appears to be hitting this line of code which is cancelling the diagnostic: Line 746 in d15fc17
|
This was referenced May 13, 2019
Merged
this appears to be a stable-to-beta regression (playpen) |
triage: P-high. Assigning to self. |
pnkfelix
added
P-high
High priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
labels
May 23, 2019
We need to change Line 871 in d15fc17
for loops as external. If that has regressions in our test suite, then we can add a new desugaring kind to differentiate between different parts of the for loop desugaring and target it further, but I do not expect that to be needed.
|
Centril
added a commit
to Centril/rust
that referenced
this issue
May 23, 2019
…oop, r=estebank Fix overflowing literal lint in loops Fixes rust-lang#60459. r? @estebank
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
A-lint
Area: Lints (warnings about flaws in source code) such as unused_mut.
C-bug
Category: This is a bug.
P-high
High priority
regression-from-stable-to-beta
Performance or correctness regression from stable to beta.
T-compiler
Relevant to the compiler team, which will review and decide on the PR/issue.
since #60330.
The text was updated successfully, but these errors were encountered: