2021-11-05 19:43:55 +00:00
|
|
|
error[E0364]: `V` is only public within the crate, and cannot be re-exported outside
|
2021-01-06 15:07:47 +00:00
|
|
|
--> $DIR/private-variant-reexport.rs:2:13
|
|
|
|
|
|
|
|
|
LL | pub use ::E::V;
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
|
note: consider marking `V` as `pub` in the imported module
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/private-variant-reexport.rs:2:13
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | pub use ::E::V;
|
2018-08-08 12:28:26 +00:00
|
|
|
| ^^^^^^
|
|
|
|
|
2021-11-05 19:43:55 +00:00
|
|
|
error[E0364]: `V` is only public within the crate, and cannot be re-exported outside
|
2021-01-06 15:07:47 +00:00
|
|
|
--> $DIR/private-variant-reexport.rs:6:19
|
|
|
|
|
|
|
|
|
LL | pub use ::E::{V};
|
|
|
|
| ^
|
|
|
|
|
|
|
|
|
note: consider marking `V` as `pub` in the imported module
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/private-variant-reexport.rs:6:19
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | pub use ::E::{V};
|
2018-08-08 12:28:26 +00:00
|
|
|
| ^
|
|
|
|
|
2021-11-05 19:43:55 +00:00
|
|
|
error[E0365]: `V` is only public within the crate, and cannot be re-exported outside
|
2018-12-25 15:56:47 +00:00
|
|
|
--> $DIR/private-variant-reexport.rs:10:22
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | pub use ::E::V::{self};
|
2021-11-05 19:43:55 +00:00
|
|
|
| ^^^^ re-export of crate public `V`
|
2021-01-06 15:07:47 +00:00
|
|
|
|
|
|
|
|
= note: consider declaring type or module `V` with `pub`
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2023-12-01 02:25:40 +00:00
|
|
|
error: glob import doesn't reexport anything with visibility `pub` because no imported item is public enough
|
2021-01-06 15:07:47 +00:00
|
|
|
--> $DIR/private-variant-reexport.rs:15:13
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | pub use ::E::*;
|
2018-08-08 12:28:26 +00:00
|
|
|
| ^^^^^^
|
2021-01-06 15:07:47 +00:00
|
|
|
|
|
2023-12-01 02:25:40 +00:00
|
|
|
note: the most public imported item is `pub(crate)`
|
|
|
|
--> $DIR/private-variant-reexport.rs:15:13
|
|
|
|
|
|
|
|
|
LL | pub use ::E::*;
|
|
|
|
| ^^^^^^
|
|
|
|
= help: reduce the glob import's visibility or increase visibility of imported items
|
2021-01-06 15:07:47 +00:00
|
|
|
note: the lint level is defined here
|
|
|
|
--> $DIR/private-variant-reexport.rs:13:8
|
|
|
|
|
|
|
|
|
LL | #[deny(unused_imports)]
|
|
|
|
| ^^^^^^^^^^^^^^
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2023-10-15 11:38:22 +00:00
|
|
|
error: unused import: `::E::*`
|
|
|
|
--> $DIR/private-variant-reexport.rs:15:13
|
|
|
|
|
|
|
|
|
LL | pub use ::E::*;
|
|
|
|
| ^^^^^^
|
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2021-01-06 15:07:47 +00:00
|
|
|
Some errors have detailed explanations: E0364, E0365.
|
|
|
|
For more information about an error, try `rustc --explain E0364`.
|