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
Enforce closure args + return type are WF
I found this out when investigating rust-lang#123461 (comment). Turns out we don't register WF obligations for closure args and return types, leading to the ICE.
I think this is a useful thing to check for, but I'd like to check what the fallout is.
Worst case, I think we should enforce this across an edition boundary (and possibly eventually migrate this for all editions).
0 commit comments