@@ -28,92 +28,104 @@ error: not in the table
2828LL | struct PrivStruct;
2929 | ^^^^^^^^^^^^^^^^^
3030
31+ error: not in the table
32+ --> $DIR/effective_visibilities.rs:20:9
33+ |
34+ LL | struct PrivStruct;
35+ | ^^^^^^^^^^^^^^^^^
36+
3137error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
32- --> $DIR/effective_visibilities.rs:23 :9
38+ --> $DIR/effective_visibilities.rs:24 :9
3339 |
3440LL | pub union PubUnion {
3541 | ^^^^^^^^^^^^^^^^^^
3642
3743error: not in the table
38- --> $DIR/effective_visibilities.rs:25 :13
44+ --> $DIR/effective_visibilities.rs:26 :13
3945 |
4046LL | a: u8,
4147 | ^^^^^
4248
4349error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
44- --> $DIR/effective_visibilities.rs:27 :13
50+ --> $DIR/effective_visibilities.rs:28 :13
4551 |
4652LL | pub b: u8,
4753 | ^^^^^^^^^
4854
4955error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
50- --> $DIR/effective_visibilities.rs:31 :9
56+ --> $DIR/effective_visibilities.rs:32 :9
5157 |
5258LL | pub enum Enum {
5359 | ^^^^^^^^^^^^^
5460
5561error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
56- --> $DIR/effective_visibilities.rs:33:13
62+ --> $DIR/effective_visibilities.rs:34:13
63+ |
64+ LL | A(
65+ | ^
66+
67+ error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
68+ --> $DIR/effective_visibilities.rs:34:13
5769 |
5870LL | A(
5971 | ^
6072
6173error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
62- --> $DIR/effective_visibilities.rs:35 :17
74+ --> $DIR/effective_visibilities.rs:37 :17
6375 |
6476LL | PubUnion,
6577 | ^^^^^^^^
6678
6779error: not in the table
68- --> $DIR/effective_visibilities.rs:41 :5
80+ --> $DIR/effective_visibilities.rs:43 :5
6981 |
7082LL | macro_rules! none_macro {
7183 | ^^^^^^^^^^^^^^^^^^^^^^^
7284
7385error: Direct: pub(self), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
74- --> $DIR/effective_visibilities.rs:47 :5
86+ --> $DIR/effective_visibilities.rs:49 :5
7587 |
7688LL | macro_rules! public_macro {
7789 | ^^^^^^^^^^^^^^^^^^^^^^^^^
7890
7991error: Direct: pub(crate), Reexported: pub(crate), Reachable: pub, ReachableThroughImplTrait: pub
80- --> $DIR/effective_visibilities.rs:52 :5
92+ --> $DIR/effective_visibilities.rs:54 :5
8193 |
8294LL | pub struct ReachableStruct {
8395 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
8496
8597error: Direct: pub(crate), Reexported: pub(crate), Reachable: pub, ReachableThroughImplTrait: pub
86- --> $DIR/effective_visibilities.rs:54 :9
98+ --> $DIR/effective_visibilities.rs:56 :9
8799 |
88100LL | pub a: u8,
89101 | ^^^^^^^^^
90102
91103error: Direct: pub, Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
92- --> $DIR/effective_visibilities.rs:59 :9
104+ --> $DIR/effective_visibilities.rs:61 :9
93105 |
94106LL | pub use outer::inner1;
95107 | ^^^^^^^^^^^^^
96108
97109error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
98- --> $DIR/effective_visibilities.rs:65 :5
110+ --> $DIR/effective_visibilities.rs:67 :5
99111 |
100112LL | pub type HalfPublicImport = u8;
101113 | ^^^^^^^^^^^^^^^^^^^^^^^^^
102114
103115error: Direct: pub(crate), Reexported: pub(crate), Reachable: pub(crate), ReachableThroughImplTrait: pub(crate)
104- --> $DIR/effective_visibilities.rs:68 :5
116+ --> $DIR/effective_visibilities.rs:70 :5
105117 |
106118LL | pub(crate) const HalfPublicImport: u8 = 0;
107119 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108120
109121error: Direct: pub, Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
110- --> $DIR/effective_visibilities.rs:72 :9
122+ --> $DIR/effective_visibilities.rs:74 :9
111123 |
112124LL | pub use half_public_import::HalfPublicImport;
113125 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
114126
115127error: Direct: pub, Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
116- --> $DIR/effective_visibilities.rs:72 :9
128+ --> $DIR/effective_visibilities.rs:74 :9
117129 |
118130LL | pub use half_public_import::HalfPublicImport;
119131 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -130,5 +142,5 @@ error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImpl
130142LL | type B;
131143 | ^^^^^^
132144
133- error: aborting due to 22 previous errors
145+ error: aborting due to 24 previous errors
134146
0 commit comments