@@ -88,6 +88,36 @@ error: Public: pub(self), Exported: pub(self), Reachable: pub, ReachableFromImpl
8888LL | pub a: u8,
8989 | ^^^^^^^^^
9090
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+
91121error: Public: pub(self), Exported: pub, Reachable: pub, ReachableFromImplTrait: pub
92122 --> $DIR/access_levels.rs:14:13
93123 |
@@ -100,5 +130,5 @@ error: Public: pub(self), Exported: pub, Reachable: pub, ReachableFromImplTrait:
100130LL | type B;
101131 | ^^^^^^
102132
103- error: aborting due to 17 previous errors
133+ error: aborting due to 22 previous errors
104134
0 commit comments