You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
{{ message }}
Repository navigation
Overflowing literal lint is silenced in range literals in loops on nightly #60459
to not consider desugarings coming from 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.
Activity
varkor commentedon May 1, 2019
It is hitting the
err.emit()here:rust/src/librustc_lint/types.rs
Line 102 in 9b67bd4
So I'm not quite sure why the error isn't being emitted yet.
ehuss commentedon May 2, 2019
It appears to be hitting this line of code which is cancelling the diagnostic:
rust/src/librustc/lint/mod.rs
Line 746 in d15fc17
pnkfelix commentedon May 23, 2019
this appears to be a stable-to-beta regression (playpen)
pnkfelix commentedon May 23, 2019
triage: P-high. Assigning to self.
estebank commentedon May 23, 2019
We need to change
rust/src/librustc/lint/mod.rs
Line 871 in d15fc17
forloops 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.varkor commentedon May 23, 2019
@pnkfelix: I've opened #61098 with a fix, based on @estebank's comment.
Rollup merge of rust-lang#61098 - varkor:fix-overflowing-literal-in-l…