-
Notifications
You must be signed in to change notification settings - Fork 12.9k
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
ICE: expect >0 RPITITs in call to 'collect_return_position_impl_trait_in_trait_tys'
#122655
Comments
Command: Program output
|
Okay, lol, here the types obviously do unify and therefore #122172 isn't effective in this situation. |
More fundamentally, the thing that goes “wrong” in these kinds of situations is the fact that we call In short:
I don't know if this |
So either we delay the detection of RPITITs and the synthesis of RPITIT assoc tys until after HIR ty lowering / AstConv (but I don't know if that's an option) or we modify the assert (either remove it outright or check the corresp. HIR ty, I don't know if that makes sense; furthermore oli is/was on a roll to remove HIR operations from this part of the code base iirc). |
@fmease: Yeah, this assertion was simply there to make sure we weren't incorrectly calling |
We could also delay a bug on mismatch 🤔 |
… r=compiler-errors Delay a bug if no RPITITs were found Fixes rust-lang#122655. See the issue for context. r? compiler-errors or compiler
… r=compiler-errors Delay a bug if no RPITITs were found Fixes rust-lang#122655. See the issue for context. r? compiler-errors or compiler
… r=compiler-errors Delay a bug if no RPITITs were found Fixes rust-lang#122655. See the issue for context. r? compiler-errors or compiler
Rollup merge of rust-lang#122915 - fmease:lt-opaq-mismatch-delay-bug, r=compiler-errors Delay a bug if no RPITITs were found Fixes rust-lang#122655. See the issue for context. r? compiler-errors or compiler
… r=compiler-errors Delay a bug if no RPITITs were found Fixes rust-lang#122655. See the issue for context. r? compiler-errors or compiler
auto-reduced (treereduce-rust):
original:
Version information
The text was updated successfully, but these errors were encountered: