-
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
Type inference regression from 1.14.0 to 1.15.0 #41194
Comments
It turned out to be an easy fix, but here's some points for your discussion:
|
crater would’ve caught it and we would send PR/ping before the relevant version of rustc gets released as a stable version. |
Ok we discussed this during libs triage the other day, and the conclusion was to close this. The known regressions have been fixed and we'd otherwise categorize this under "known breakage". If this comes up over time though please let us know as we're always interested in understanding when changes like this cause problems! |
This code:
stopped compiling in 1.15.0 with:
If you change the cast on line 7 to the concrete type
usize
, it compiles fine on 1.15.0 (and later)The text was updated successfully, but these errors were encountered: