-
Notifications
You must be signed in to change notification settings - Fork 13.1k
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 on Nightly #91378
Comments
Well, that's interesting. This regression appears to stem from #89167. CC @workingjubilee. I'd guess the type inference has become ambiguous due to library changes, which is ordinarily allowed. It might be worth improving the error message somehow though. |
Bizarre 😄 I assume it must also be related to #90904 then. |
@antonok-edm: we should probably close this in favor of #90904. Do you want to post your code sample there? It's shorter and easier to parse than the one that's there now. |
@inquisitivecrystal sure, that makes sense! |
Code
This minimized code example:
should compile successfully.
Instead, I get the following 2 compiler errors:
Version it worked on
It most recently worked on: Rust 1.57.0 (beta)
Version with regression
rustc --version --verbose
:Backtrace
N/A
@rustbot modify labels: +regression-from-stable-to-nightly -regression-untriaged
The text was updated successfully, but these errors were encountered: