@@ -28,92 +28,104 @@ error: not in the table
28
28
LL | struct PrivStruct;
29
29
| ^^^^^^^^^^^^^^^^^
30
30
31
+ error: not in the table
32
+ --> $DIR/effective_visibilities.rs:20:9
33
+ |
34
+ LL | struct PrivStruct;
35
+ | ^^^^^^^^^^^^^^^^^
36
+
31
37
error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
32
- --> $DIR/effective_visibilities.rs:23 :9
38
+ --> $DIR/effective_visibilities.rs:24 :9
33
39
|
34
40
LL | pub union PubUnion {
35
41
| ^^^^^^^^^^^^^^^^^^
36
42
37
43
error: not in the table
38
- --> $DIR/effective_visibilities.rs:25 :13
44
+ --> $DIR/effective_visibilities.rs:26 :13
39
45
|
40
46
LL | a: u8,
41
47
| ^^^^^
42
48
43
49
error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
44
- --> $DIR/effective_visibilities.rs:27 :13
50
+ --> $DIR/effective_visibilities.rs:28 :13
45
51
|
46
52
LL | pub b: u8,
47
53
| ^^^^^^^^^
48
54
49
55
error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
50
- --> $DIR/effective_visibilities.rs:31 :9
56
+ --> $DIR/effective_visibilities.rs:32 :9
51
57
|
52
58
LL | pub enum Enum {
53
59
| ^^^^^^^^^^^^^
54
60
55
61
error: 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
57
69
|
58
70
LL | A(
59
71
| ^
60
72
61
73
error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
62
- --> $DIR/effective_visibilities.rs:35 :17
74
+ --> $DIR/effective_visibilities.rs:37 :17
63
75
|
64
76
LL | PubUnion,
65
77
| ^^^^^^^^
66
78
67
79
error: not in the table
68
- --> $DIR/effective_visibilities.rs:41 :5
80
+ --> $DIR/effective_visibilities.rs:43 :5
69
81
|
70
82
LL | macro_rules! none_macro {
71
83
| ^^^^^^^^^^^^^^^^^^^^^^^
72
84
73
85
error: Direct: pub(self), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
74
- --> $DIR/effective_visibilities.rs:47 :5
86
+ --> $DIR/effective_visibilities.rs:49 :5
75
87
|
76
88
LL | macro_rules! public_macro {
77
89
| ^^^^^^^^^^^^^^^^^^^^^^^^^
78
90
79
91
error: Direct: pub(crate), Reexported: pub(crate), Reachable: pub, ReachableThroughImplTrait: pub
80
- --> $DIR/effective_visibilities.rs:52 :5
92
+ --> $DIR/effective_visibilities.rs:54 :5
81
93
|
82
94
LL | pub struct ReachableStruct {
83
95
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
84
96
85
97
error: Direct: pub(crate), Reexported: pub(crate), Reachable: pub, ReachableThroughImplTrait: pub
86
- --> $DIR/effective_visibilities.rs:54 :9
98
+ --> $DIR/effective_visibilities.rs:56 :9
87
99
|
88
100
LL | pub a: u8,
89
101
| ^^^^^^^^^
90
102
91
103
error: Direct: pub, Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
92
- --> $DIR/effective_visibilities.rs:59 :9
104
+ --> $DIR/effective_visibilities.rs:61 :9
93
105
|
94
106
LL | pub use outer::inner1;
95
107
| ^^^^^^^^^^^^^
96
108
97
109
error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
98
- --> $DIR/effective_visibilities.rs:65 :5
110
+ --> $DIR/effective_visibilities.rs:67 :5
99
111
|
100
112
LL | pub type HalfPublicImport = u8;
101
113
| ^^^^^^^^^^^^^^^^^^^^^^^^^
102
114
103
115
error: 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
105
117
|
106
118
LL | pub(crate) const HalfPublicImport: u8 = 0;
107
119
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
108
120
109
121
error: Direct: pub, Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
110
- --> $DIR/effective_visibilities.rs:72 :9
122
+ --> $DIR/effective_visibilities.rs:74 :9
111
123
|
112
124
LL | pub use half_public_import::HalfPublicImport;
113
125
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
114
126
115
127
error: Direct: pub, Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
116
- --> $DIR/effective_visibilities.rs:72 :9
128
+ --> $DIR/effective_visibilities.rs:74 :9
117
129
|
118
130
LL | pub use half_public_import::HalfPublicImport;
119
131
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
@@ -130,5 +142,5 @@ error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImpl
130
142
LL | type B;
131
143
| ^^^^^^
132
144
133
- error: aborting due to 22 previous errors
145
+ error: aborting due to 24 previous errors
134
146
0 commit comments