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
And of course the concrete example given here is one where there is no type error. At least, not one exposed by compiling this code. (I have not yet managed to show Combiner being instantiated concretely without causing some other type error to arise.)
(but there may be a mix of bugs causing the original input here to pass. In particular, the code in the description is doing <Self as IndexMut>::Output, but that associated type does not exist. One needs <Self as Index>::Output. See also: #21259 )
Avoid `cat_expr Erred` notes when already in error state.
Also, to ensure we do not let the dropck get skipped, ICE if `cat_expr` errors when *not* in error state.
This is not known to be a breaking change (i.e. I do not know of a current case that causes the new ICE to be exercised).
Fix#22265
I tried to get a minimal example, now i just ended up with completely senseless code, that still gives the error.
playpen says:
if you remove the for loop, only the last two cat_expr notes are left. adding more code just ends up with more of the notes.
The text was updated successfully, but these errors were encountered: