-
Notifications
You must be signed in to change notification settings - Fork 0
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
bevy implied bounds hack no longer works #164
Comments
In the implied bounds compat query, we use the "regular" wf with normalization: That normalizes obligations using ...Which instead of registering the type outlives obligation into the infcx's region storage (which when normalizing a In the new solver, even if we were to use ...we would still need to manually take the type outlives obligation that has been registered as part of normalizing the type out of the infcx here: |
I think it's doable, and the fallout is likely very small b/c it's just for the compat hack (which I recently even reduced the scope of rust-lang/rust#137253). |
It's arguable whether or not we should fix this in the new solver, because we'd rather just remove the hack. If we do need to fix bevy by the time that the solver is ready for stabilization in 2050, then we can do a hack just like the PR I put. |
affected test
somewhat unsure about why this happens, but
now errors with "the type
&'a u8
does not fulfill the required lifetime"The text was updated successfully, but these errors were encountered: