]>
git.proxmox.com Git - rustc.git/blob - src/test/ui/privacy/private-variant-reexport.rs
2 pub use ::E
::V
; //~ ERROR `V` is only public within the crate, and cannot be re-exported outside
6 pub use ::E
::{V}
; //~ ERROR `V` is only public within the crate, and cannot be re-exported outside
10 pub use ::E
::V
::{self}
; //~ ERROR `V` is only public within the crate, and cannot be re-exported outside
13 #[deny(unused_imports)]
15 pub use ::E
::*; //~ ERROR glob import doesn't reexport anything