private type in public interface rules do not prevent exposure of some types #23621
Labels
A-resolve
Area: Name/path resolution done by `rustc_resolve` specifically
A-visibility
Area: Visibility / privacy
e.g.,
From outside
B
,foo
is visible, butX
is not.The fix is discussed here and in the following comments.
I guess this is technically a backwards incompatible change, but I would regard any example of it as a bug, so I would not feel bad fixing this post 1.0 (also the fix is really easy if we do break your code - just add
pub
). Still, nominating triage: I-nominated(example by @tomaka from #23585)
The text was updated successfully, but these errors were encountered: