1 mod m1 {
2     pub use ::E::V; //~ ERROR `V` is only public within the crate, and cannot be re-exported outside
3 }
4 
5 mod m2 {
6     pub use ::E::{V}; //~ ERROR `V` is only public within the crate, and cannot be re-exported outside
7 }
8 
9 mod m3 {
10     pub use ::E::V::{self}; //~ ERROR `V` is only public within the crate, and cannot be re-exported outside
11 }
12 
13 #[deny(unused_imports)]
14 mod m4 {
15     pub use ::E::*; //~ ERROR glob import doesn't reexport anything
16 }
17 
18 enum E { V }
19 
main()20 fn main() {}
21