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
error[E0446]: private type `PrivateDiscriminants` in public interface
This is because the IntoDiscriminant impl of PublicEnum leaks the private PrivateDiscriminants type. Should we maybe exclude the IntoDiscriminant impl when the parent enum is public and the generated enum is private?
The text was updated successfully, but these errors were encountered:
The following user code is broken by #377:
With an error message:
This is because the
IntoDiscriminant
impl ofPublicEnum
leaks the privatePrivateDiscriminants
type. Should we maybe exclude theIntoDiscriminant
impl when the parent enum is public and the generated enum is private?The text was updated successfully, but these errors were encountered: