-
Notifications
You must be signed in to change notification settings - Fork 13.3k
ICE: only 'variances_of' returns '&[ty::Variance]'
#127971
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
Comments
Yes, it is fishy on purpose. It's a canary making sure it doesn't suddenly apply to other queries without tests or purposeful addition |
Shouldn't it atleast be using |
We used to only generate query results from cycles for the first query in the cycle. Or I guess we do that in nonparallel mode. So yes, that would be the correct impl |
I'm not able to reproduce this or #124423 with |
Use `search_for_cycle_permutation` to look for `variances_of` This uses `search_for_cycle_permutation` to look for `variances_of` in case `variances_of` is not the first query in the cycle. This may fix rust-lang#124423 and rust-lang#127971. r? `@oli-obk`
Rollup merge of rust-lang#140358 - Zoxc:variance-cycle, r=oli-obk Use `search_for_cycle_permutation` to look for `variances_of` This uses `search_for_cycle_permutation` to look for `variances_of` in case `variances_of` is not the first query in the cycle. This may fix rust-lang#124423 and rust-lang#127971. r? `@oli-obk`
Code
may need a couple for
-Zthreads=16
runs to triggerMeta
rustc --version --verbose
:Error output
Backtrace
The text was updated successfully, but these errors were encountered: