1
1
error[E0364]: `JuniorGrade` is private, and cannot be re-exported
2
- --> $DIR/issue-46209-private-enum-variant-reexport.rs:6 :32
2
+ --> $DIR/issue-46209-private-enum-variant-reexport.rs:5 :32
3
3
|
4
4
LL | pub use self::Lieutenant::{JuniorGrade, Full};
5
5
| ^^^^^^^^^^^
6
6
|
7
7
note: consider marking `JuniorGrade` as `pub` in the imported module
8
- --> $DIR/issue-46209-private-enum-variant-reexport.rs:6 :32
8
+ --> $DIR/issue-46209-private-enum-variant-reexport.rs:5 :32
9
9
|
10
10
LL | pub use self::Lieutenant::{JuniorGrade, Full};
11
11
| ^^^^^^^^^^^
12
12
13
13
error[E0364]: `Full` is private, and cannot be re-exported
14
- --> $DIR/issue-46209-private-enum-variant-reexport.rs:6 :45
14
+ --> $DIR/issue-46209-private-enum-variant-reexport.rs:5 :45
15
15
|
16
16
LL | pub use self::Lieutenant::{JuniorGrade, Full};
17
17
| ^^^^
18
18
|
19
19
note: consider marking `Full` as `pub` in the imported module
20
- --> $DIR/issue-46209-private-enum-variant-reexport.rs:6 :45
20
+ --> $DIR/issue-46209-private-enum-variant-reexport.rs:5 :45
21
21
|
22
22
LL | pub use self::Lieutenant::{JuniorGrade, Full};
23
23
| ^^^^
24
24
25
- error: glob import doesn't reexport anything because no candidate is public enough
25
+ error: unused import: `self::Professor::*`
26
26
--> $DIR/issue-46209-private-enum-variant-reexport.rs:3:13
27
27
|
28
28
LL | pub use self::Professor::*;
@@ -34,42 +34,24 @@ note: the lint level is defined here
34
34
LL | #[deny(unused_imports)]
35
35
| ^^^^^^^^^^^^^^
36
36
37
- error: unused import: `self::Professor::*`
38
- --> $DIR/issue-46209-private-enum-variant-reexport.rs:3:13
39
- |
40
- LL | pub use self::Professor::*;
41
- | ^^^^^^^^^^^^^^^^^^
42
-
43
37
error: unused imports: `Full`, `JuniorGrade`
44
- --> $DIR/issue-46209-private-enum-variant-reexport.rs:6 :32
38
+ --> $DIR/issue-46209-private-enum-variant-reexport.rs:5 :32
45
39
|
46
40
LL | pub use self::Lieutenant::{JuniorGrade, Full};
47
41
| ^^^^^^^^^^^ ^^^^
48
42
49
- error: glob import doesn't reexport anything because no candidate is public enough
50
- --> $DIR/issue-46209-private-enum-variant-reexport.rs:10:13
51
- |
52
- LL | pub use self::PettyOfficer::*;
53
- | ^^^^^^^^^^^^^^^^^^^^^
54
-
55
43
error: unused import: `self::PettyOfficer::*`
56
- --> $DIR/issue-46209-private-enum-variant-reexport.rs:10 :13
44
+ --> $DIR/issue-46209-private-enum-variant-reexport.rs:9 :13
57
45
|
58
46
LL | pub use self::PettyOfficer::*;
59
47
| ^^^^^^^^^^^^^^^^^^^^^
60
48
61
- error: glob import doesn't reexport anything because no candidate is public enough
62
- --> $DIR/issue-46209-private-enum-variant-reexport.rs:13:13
63
- |
64
- LL | pub use self::Crewman::*;
65
- | ^^^^^^^^^^^^^^^^
66
-
67
49
error: unused import: `self::Crewman::*`
68
- --> $DIR/issue-46209-private-enum-variant-reexport.rs:13 :13
50
+ --> $DIR/issue-46209-private-enum-variant-reexport.rs:11 :13
69
51
|
70
52
LL | pub use self::Crewman::*;
71
53
| ^^^^^^^^^^^^^^^^
72
54
73
- error: aborting due to 9 previous errors
55
+ error: aborting due to 6 previous errors
74
56
75
57
For more information about this error, try `rustc --explain E0364`.
0 commit comments