@@ -6,36 +6,36 @@ use rustc_span::{Span, Symbol};
6
6
7
7
#[ derive( Diagnostic ) ]
8
8
#[ diag( incremental_unrecognized_depnode) ]
9
- pub struct UnrecognizedDepNode {
9
+ pub ( crate ) struct UnrecognizedDepNode {
10
10
#[ primary_span]
11
11
pub span : Span ,
12
12
pub name : Symbol ,
13
13
}
14
14
15
15
#[ derive( Diagnostic ) ]
16
16
#[ diag( incremental_missing_depnode) ]
17
- pub struct MissingDepNode {
17
+ pub ( crate ) struct MissingDepNode {
18
18
#[ primary_span]
19
19
pub span : Span ,
20
20
}
21
21
22
22
#[ derive( Diagnostic ) ]
23
23
#[ diag( incremental_missing_if_this_changed) ]
24
- pub struct MissingIfThisChanged {
24
+ pub ( crate ) struct MissingIfThisChanged {
25
25
#[ primary_span]
26
26
pub span : Span ,
27
27
}
28
28
29
29
#[ derive( Diagnostic ) ]
30
30
#[ diag( incremental_ok) ]
31
- pub struct Ok {
31
+ pub ( crate ) struct Ok {
32
32
#[ primary_span]
33
33
pub span : Span ,
34
34
}
35
35
36
36
#[ derive( Diagnostic ) ]
37
37
#[ diag( incremental_no_path) ]
38
- pub struct NoPath {
38
+ pub ( crate ) struct NoPath {
39
39
#[ primary_span]
40
40
pub span : Span ,
41
41
pub target : Symbol ,
@@ -44,7 +44,7 @@ pub struct NoPath {
44
44
45
45
#[ derive( Diagnostic ) ]
46
46
#[ diag( incremental_assertion_auto) ]
47
- pub struct AssertionAuto < ' a > {
47
+ pub ( crate ) struct AssertionAuto < ' a > {
48
48
#[ primary_span]
49
49
pub span : Span ,
50
50
pub name : & ' a str ,
@@ -53,139 +53,139 @@ pub struct AssertionAuto<'a> {
53
53
54
54
#[ derive( Diagnostic ) ]
55
55
#[ diag( incremental_undefined_clean_dirty_assertions_item) ]
56
- pub struct UndefinedCleanDirtyItem {
56
+ pub ( crate ) struct UndefinedCleanDirtyItem {
57
57
#[ primary_span]
58
58
pub span : Span ,
59
59
pub kind : String ,
60
60
}
61
61
62
62
#[ derive( Diagnostic ) ]
63
63
#[ diag( incremental_undefined_clean_dirty_assertions) ]
64
- pub struct UndefinedCleanDirty {
64
+ pub ( crate ) struct UndefinedCleanDirty {
65
65
#[ primary_span]
66
66
pub span : Span ,
67
67
pub kind : String ,
68
68
}
69
69
70
70
#[ derive( Diagnostic ) ]
71
71
#[ diag( incremental_repeated_depnode_label) ]
72
- pub struct RepeatedDepNodeLabel < ' a > {
72
+ pub ( crate ) struct RepeatedDepNodeLabel < ' a > {
73
73
#[ primary_span]
74
74
pub span : Span ,
75
75
pub label : & ' a str ,
76
76
}
77
77
78
78
#[ derive( Diagnostic ) ]
79
79
#[ diag( incremental_unrecognized_depnode_label) ]
80
- pub struct UnrecognizedDepNodeLabel < ' a > {
80
+ pub ( crate ) struct UnrecognizedDepNodeLabel < ' a > {
81
81
#[ primary_span]
82
82
pub span : Span ,
83
83
pub label : & ' a str ,
84
84
}
85
85
86
86
#[ derive( Diagnostic ) ]
87
87
#[ diag( incremental_not_dirty) ]
88
- pub struct NotDirty < ' a > {
88
+ pub ( crate ) struct NotDirty < ' a > {
89
89
#[ primary_span]
90
90
pub span : Span ,
91
91
pub dep_node_str : & ' a str ,
92
92
}
93
93
94
94
#[ derive( Diagnostic ) ]
95
95
#[ diag( incremental_not_clean) ]
96
- pub struct NotClean < ' a > {
96
+ pub ( crate ) struct NotClean < ' a > {
97
97
#[ primary_span]
98
98
pub span : Span ,
99
99
pub dep_node_str : & ' a str ,
100
100
}
101
101
102
102
#[ derive( Diagnostic ) ]
103
103
#[ diag( incremental_not_loaded) ]
104
- pub struct NotLoaded < ' a > {
104
+ pub ( crate ) struct NotLoaded < ' a > {
105
105
#[ primary_span]
106
106
pub span : Span ,
107
107
pub dep_node_str : & ' a str ,
108
108
}
109
109
110
110
#[ derive( Diagnostic ) ]
111
111
#[ diag( incremental_unknown_item) ]
112
- pub struct UnknownItem {
112
+ pub ( crate ) struct UnknownItem {
113
113
#[ primary_span]
114
114
pub span : Span ,
115
115
pub name : Symbol ,
116
116
}
117
117
118
118
#[ derive( Diagnostic ) ]
119
119
#[ diag( incremental_no_cfg) ]
120
- pub struct NoCfg {
120
+ pub ( crate ) struct NoCfg {
121
121
#[ primary_span]
122
122
pub span : Span ,
123
123
}
124
124
125
125
#[ derive( Diagnostic ) ]
126
126
#[ diag( incremental_associated_value_expected_for) ]
127
- pub struct AssociatedValueExpectedFor {
127
+ pub ( crate ) struct AssociatedValueExpectedFor {
128
128
#[ primary_span]
129
129
pub span : Span ,
130
130
pub ident : Ident ,
131
131
}
132
132
133
133
#[ derive( Diagnostic ) ]
134
134
#[ diag( incremental_associated_value_expected) ]
135
- pub struct AssociatedValueExpected {
135
+ pub ( crate ) struct AssociatedValueExpected {
136
136
#[ primary_span]
137
137
pub span : Span ,
138
138
}
139
139
140
140
#[ derive( Diagnostic ) ]
141
141
#[ diag( incremental_unchecked_clean) ]
142
- pub struct UncheckedClean {
142
+ pub ( crate ) struct UncheckedClean {
143
143
#[ primary_span]
144
144
pub span : Span ,
145
145
}
146
146
147
147
#[ derive( Diagnostic ) ]
148
148
#[ diag( incremental_delete_old) ]
149
- pub struct DeleteOld < ' a > {
149
+ pub ( crate ) struct DeleteOld < ' a > {
150
150
pub name : & ' a str ,
151
151
pub path : PathBuf ,
152
152
pub err : std:: io:: Error ,
153
153
}
154
154
155
155
#[ derive( Diagnostic ) ]
156
156
#[ diag( incremental_create_new) ]
157
- pub struct CreateNew < ' a > {
157
+ pub ( crate ) struct CreateNew < ' a > {
158
158
pub name : & ' a str ,
159
159
pub path : PathBuf ,
160
160
pub err : std:: io:: Error ,
161
161
}
162
162
163
163
#[ derive( Diagnostic ) ]
164
164
#[ diag( incremental_write_new) ]
165
- pub struct WriteNew < ' a > {
165
+ pub ( crate ) struct WriteNew < ' a > {
166
166
pub name : & ' a str ,
167
167
pub path : PathBuf ,
168
168
pub err : std:: io:: Error ,
169
169
}
170
170
171
171
#[ derive( Diagnostic ) ]
172
172
#[ diag( incremental_canonicalize_path) ]
173
- pub struct CanonicalizePath {
173
+ pub ( crate ) struct CanonicalizePath {
174
174
pub path : PathBuf ,
175
175
pub err : std:: io:: Error ,
176
176
}
177
177
178
178
#[ derive( Diagnostic ) ]
179
179
#[ diag( incremental_create_incr_comp_dir) ]
180
- pub struct CreateIncrCompDir < ' a > {
180
+ pub ( crate ) struct CreateIncrCompDir < ' a > {
181
181
pub tag : & ' a str ,
182
182
pub path : & ' a Path ,
183
183
pub err : std:: io:: Error ,
184
184
}
185
185
186
186
#[ derive( Diagnostic ) ]
187
187
#[ diag( incremental_create_lock) ]
188
- pub struct CreateLock < ' a > {
188
+ pub ( crate ) struct CreateLock < ' a > {
189
189
pub lock_err : std:: io:: Error ,
190
190
pub session_dir : & ' a Path ,
191
191
#[ note( incremental_lock_unsupported) ]
@@ -197,113 +197,113 @@ pub struct CreateLock<'a> {
197
197
198
198
#[ derive( Diagnostic ) ]
199
199
#[ diag( incremental_delete_lock) ]
200
- pub struct DeleteLock < ' a > {
200
+ pub ( crate ) struct DeleteLock < ' a > {
201
201
pub path : & ' a Path ,
202
202
pub err : std:: io:: Error ,
203
203
}
204
204
205
205
#[ derive( Diagnostic ) ]
206
206
#[ diag( incremental_hard_link_failed) ]
207
- pub struct HardLinkFailed < ' a > {
207
+ pub ( crate ) struct HardLinkFailed < ' a > {
208
208
pub path : & ' a Path ,
209
209
}
210
210
211
211
#[ derive( Diagnostic ) ]
212
212
#[ diag( incremental_delete_partial) ]
213
- pub struct DeletePartial < ' a > {
213
+ pub ( crate ) struct DeletePartial < ' a > {
214
214
pub path : & ' a Path ,
215
215
pub err : std:: io:: Error ,
216
216
}
217
217
218
218
#[ derive( Diagnostic ) ]
219
219
#[ diag( incremental_delete_full) ]
220
- pub struct DeleteFull < ' a > {
220
+ pub ( crate ) struct DeleteFull < ' a > {
221
221
pub path : & ' a Path ,
222
222
pub err : std:: io:: Error ,
223
223
}
224
224
225
225
#[ derive( Diagnostic ) ]
226
226
#[ diag( incremental_finalize) ]
227
- pub struct Finalize < ' a > {
227
+ pub ( crate ) struct Finalize < ' a > {
228
228
pub path : & ' a Path ,
229
229
pub err : std:: io:: Error ,
230
230
}
231
231
232
232
#[ derive( Diagnostic ) ]
233
233
#[ diag( incremental_invalid_gc_failed) ]
234
- pub struct InvalidGcFailed < ' a > {
234
+ pub ( crate ) struct InvalidGcFailed < ' a > {
235
235
pub path : & ' a Path ,
236
236
pub err : std:: io:: Error ,
237
237
}
238
238
239
239
#[ derive( Diagnostic ) ]
240
240
#[ diag( incremental_finalized_gc_failed) ]
241
- pub struct FinalizedGcFailed < ' a > {
241
+ pub ( crate ) struct FinalizedGcFailed < ' a > {
242
242
pub path : & ' a Path ,
243
243
pub err : std:: io:: Error ,
244
244
}
245
245
246
246
#[ derive( Diagnostic ) ]
247
247
#[ diag( incremental_session_gc_failed) ]
248
- pub struct SessionGcFailed < ' a > {
248
+ pub ( crate ) struct SessionGcFailed < ' a > {
249
249
pub path : & ' a Path ,
250
250
pub err : std:: io:: Error ,
251
251
}
252
252
253
253
#[ derive( Diagnostic ) ]
254
254
#[ diag( incremental_assert_not_loaded) ]
255
- pub struct AssertNotLoaded ;
255
+ pub ( crate ) struct AssertNotLoaded ;
256
256
257
257
#[ derive( Diagnostic ) ]
258
258
#[ diag( incremental_assert_loaded) ]
259
- pub struct AssertLoaded ;
259
+ pub ( crate ) struct AssertLoaded ;
260
260
261
261
#[ derive( Diagnostic ) ]
262
262
#[ diag( incremental_delete_incompatible) ]
263
- pub struct DeleteIncompatible {
263
+ pub ( crate ) struct DeleteIncompatible {
264
264
pub path : PathBuf ,
265
265
pub err : std:: io:: Error ,
266
266
}
267
267
268
268
#[ derive( Diagnostic ) ]
269
269
#[ diag( incremental_load_dep_graph) ]
270
- pub struct LoadDepGraph {
270
+ pub ( crate ) struct LoadDepGraph {
271
271
pub path : PathBuf ,
272
272
pub err : std:: io:: Error ,
273
273
}
274
274
275
275
#[ derive( Diagnostic ) ]
276
276
#[ diag( incremental_move_dep_graph) ]
277
- pub struct MoveDepGraph < ' a > {
277
+ pub ( crate ) struct MoveDepGraph < ' a > {
278
278
pub from : & ' a Path ,
279
279
pub to : & ' a Path ,
280
280
pub err : std:: io:: Error ,
281
281
}
282
282
283
283
#[ derive( Diagnostic ) ]
284
284
#[ diag( incremental_create_dep_graph) ]
285
- pub struct CreateDepGraph < ' a > {
285
+ pub ( crate ) struct CreateDepGraph < ' a > {
286
286
pub path : & ' a Path ,
287
287
pub err : std:: io:: Error ,
288
288
}
289
289
290
290
#[ derive( Diagnostic ) ]
291
291
#[ diag( incremental_copy_workproduct_to_cache) ]
292
- pub struct CopyWorkProductToCache < ' a > {
292
+ pub ( crate ) struct CopyWorkProductToCache < ' a > {
293
293
pub from : & ' a Path ,
294
294
pub to : & ' a Path ,
295
295
pub err : std:: io:: Error ,
296
296
}
297
297
298
298
#[ derive( Diagnostic ) ]
299
299
#[ diag( incremental_delete_workproduct) ]
300
- pub struct DeleteWorkProduct < ' a > {
300
+ pub ( crate ) struct DeleteWorkProduct < ' a > {
301
301
pub path : & ' a Path ,
302
302
pub err : std:: io:: Error ,
303
303
}
304
304
305
305
#[ derive( Diagnostic ) ]
306
306
#[ diag( incremental_corrupt_file) ]
307
- pub struct CorruptFile < ' a > {
307
+ pub ( crate ) struct CorruptFile < ' a > {
308
308
pub path : & ' a Path ,
309
309
}
0 commit comments