You signed in with another tab or window. Reload to refresh your session.You signed out in another tab or window. Reload to refresh your session.You switched accounts on another tab or window. Reload to refresh your session.Dismiss alert
Right now we're (afaict) missing autoderefs which are applied as adjustments. Specifically interesting is the answer to the question of where do we put that enforce_context_effects call...
We're possibly also missing other things, so a full audit of HIR typeck is probably worthwhile.
The text was updated successfully, but these errors were encountered:
@RalfJung: Sure, we can do it for the purposes of making sure nothing non-const leaks into the body in MIR const checking, but I'd prefer that for the purposes of diagnostics that we enforce this first in HIR typeck. This is consistent with HIR and MIR checking traits first; if something fails to satisfy a const trait predicate in MIR, we delay a bug.
Right now we're (afaict) missing autoderefs which are applied as adjustments. Specifically interesting is the answer to the question of where do we put that
enforce_context_effects
call...We're possibly also missing other things, so a full audit of HIR typeck is probably worthwhile.
The text was updated successfully, but these errors were encountered: