]> git.lizzy.rs Git - rust.git/blob - src/test/ui/privacy/private-variant-reexport.stderr
update ui tests
[rust.git] / src / test / ui / privacy / private-variant-reexport.stderr
1 error: variant `V` is private and cannot be re-exported
2   --> $DIR/private-variant-reexport.rs:2:13
3    |
4 LL |     pub use ::E::V;
5    |             ^^^^^^
6 ...
7 LL | enum E { V }
8    | ------ help: consider making the enum public: `pub enum E`
9
10 error: variant `V` is private and cannot be re-exported
11   --> $DIR/private-variant-reexport.rs:6:19
12    |
13 LL |     pub use ::E::{V};
14    |                   ^
15
16 error: variant `V` is private and cannot be re-exported
17   --> $DIR/private-variant-reexport.rs:10:22
18    |
19 LL |     pub use ::E::V::{self};
20    |                      ^^^^
21
22 error: enum is private and its variants cannot be re-exported
23   --> $DIR/private-variant-reexport.rs:14:13
24    |
25 LL |     pub use ::E::*;
26    |             ^^^^^^
27
28 error: aborting due to 4 previous errors
29