pub/priv qualifiers on individual variants #3993
Labels
A-frontend
Area: Compiler frontend (errors, parsing and HIR)
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
Milestone
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: