-
Notifications
You must be signed in to change notification settings - Fork 12.7k
New issue
Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.
By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.
Already on GitHub? Sign in to your account
pub/priv qualifiers on individual variants #3993
Labels
Milestone
Comments
You are supposed to be able to mark variants as private so as to control |
ghost
assigned catamorphism
Nov 24, 2012
f459acc fixes the problem (as it turns out, |
Sign up for free
to join this conversation on GitHub.
Already have an account?
Sign in to comment
Labels
This shouldn't compile, because
h
is private. But it's currently accepted. I'm not sure if we want to support pub/priv on variants or not, but if not, we should disallow pub/priv on them altogether.The text was updated successfully, but these errors were encountered: