@@ -240,7 +240,7 @@ impl<'sess> OnDiskCache<'sess> {
240
240
}
241
241
}
242
242
243
- pub fn serialize < ' tcx > (
243
+ crate fn serialize < ' tcx > (
244
244
& self ,
245
245
tcx : TyCtxt < ' tcx > ,
246
246
encoder : & mut opaque:: Encoder ,
@@ -422,7 +422,7 @@ impl<'sess> OnDiskCache<'sess> {
422
422
}
423
423
424
424
/// Loads a diagnostic emitted during the previous compilation session.
425
- pub fn load_diagnostics (
425
+ crate fn load_diagnostics (
426
426
& self ,
427
427
tcx : TyCtxt < ' _ > ,
428
428
dep_node_index : SerializedDepNodeIndex ,
@@ -438,7 +438,7 @@ impl<'sess> OnDiskCache<'sess> {
438
438
/// the next compilation session.
439
439
#[ inline( never) ]
440
440
#[ cold]
441
- pub fn store_diagnostics (
441
+ crate fn store_diagnostics (
442
442
& self ,
443
443
dep_node_index : DepNodeIndex ,
444
444
diagnostics : ThinVec < Diagnostic > ,
@@ -506,7 +506,7 @@ impl<'sess> OnDiskCache<'sess> {
506
506
/// 1:1 relationship between query-key and `DepNode`.
507
507
#[ inline( never) ]
508
508
#[ cold]
509
- pub fn store_diagnostics_for_anon_node (
509
+ crate fn store_diagnostics_for_anon_node (
510
510
& self ,
511
511
dep_node_index : DepNodeIndex ,
512
512
diagnostics : ThinVec < Diagnostic > ,
@@ -1153,7 +1153,7 @@ where
1153
1153
struct IntEncodedWithFixedSize ( u64 ) ;
1154
1154
1155
1155
impl IntEncodedWithFixedSize {
1156
- pub const ENCODED_SIZE : usize = 8 ;
1156
+ const ENCODED_SIZE : usize = 8 ;
1157
1157
}
1158
1158
1159
1159
impl Encodable < opaque:: Encoder > for IntEncodedWithFixedSize {
0 commit comments