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
We can't replace the last use of Foo in the impl with Self (you get E0071). But Self is a kind of type alias, or it acts like one anyway, and normally you can construct a struct through a type alias. So we should allow usage of Self like this.
Consider the following code
We can't replace the last use of
Foo
in the impl withSelf
(you get E0071). ButSelf
is a kind of type alias, or it acts like one anyway, and normally you can construct a struct through a type alias. So we should allow usage ofSelf
like this.brought up here cc @huonw
The text was updated successfully, but these errors were encountered: