@@ -88,6 +88,36 @@ error: Public: pub(self), Exported: pub(self), Reachable: pub, ReachableFromImpl
88
88
LL | pub a: u8,
89
89
| ^^^^^^^^^
90
90
91
+ error: Public: pub, Exported: pub, Reachable: pub, ReachableFromImplTrait: pub
92
+ --> $DIR/access_levels.rs:59:9
93
+ |
94
+ LL | pub use outer::inner1;
95
+ | ^^^^^^^^^^^^^
96
+
97
+ error: Public: pub(self), Exported: pub, Reachable: pub, ReachableFromImplTrait: pub
98
+ --> $DIR/access_levels.rs:65:5
99
+ |
100
+ LL | pub type HalfPublicImport = u8;
101
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^
102
+
103
+ error: Public: pub(self), Exported: pub(self), Reachable: pub(self), ReachableFromImplTrait: pub(self)
104
+ --> $DIR/access_levels.rs:68:5
105
+ |
106
+ LL | pub(crate) const HalfPublicImport: u8 = 0;
107
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108
+
109
+ error: Public: pub, Exported: pub, Reachable: pub, ReachableFromImplTrait: pub
110
+ --> $DIR/access_levels.rs:72:9
111
+ |
112
+ LL | pub use half_public_import::HalfPublicImport;
113
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
114
+
115
+ error: Public: pub, Exported: pub, Reachable: pub, ReachableFromImplTrait: pub
116
+ --> $DIR/access_levels.rs:72:9
117
+ |
118
+ LL | pub use half_public_import::HalfPublicImport;
119
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
120
+
91
121
error: Public: pub(self), Exported: pub, Reachable: pub, ReachableFromImplTrait: pub
92
122
--> $DIR/access_levels.rs:14:13
93
123
|
@@ -100,5 +130,5 @@ error: Public: pub(self), Exported: pub, Reachable: pub, ReachableFromImplTrait:
100
130
LL | type B;
101
131
| ^^^^^^
102
132
103
- error: aborting due to 17 previous errors
133
+ error: aborting due to 22 previous errors
104
134
0 commit comments