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
! is itself not a type; it cannot be plugged into the AB nor T above.
If we were to readd it as a type (and note that some effort did go into removing it), that would probably require an RFC. (And also, I'd want a ?Marker on such type parameter analogous to ?Sized; something like ?Converge...)
(Alternatively we could make a special case for the F(A, B) -> T shorthand where F(A, B) -> ! would expand in some entirely different way -- but again, that would require an RFC.)
Here's a minimal example that shows the problem:
which fails with:
...AFAICS, there's no good reason this syntax is not allowed.
The text was updated successfully, but these errors were encountered: