@@ -176,7 +176,7 @@ impl<'sess> OnDiskCache<'sess> {
176
176
}
177
177
}
178
178
179
- pub fn serialize < ' tcx > (
179
+ crate fn serialize < ' tcx > (
180
180
& self ,
181
181
tcx : TyCtxt < ' tcx > ,
182
182
encoder : & mut opaque:: Encoder ,
@@ -349,7 +349,7 @@ impl<'sess> OnDiskCache<'sess> {
349
349
}
350
350
351
351
/// Loads a diagnostic emitted during the previous compilation session.
352
- pub fn load_diagnostics (
352
+ crate fn load_diagnostics (
353
353
& self ,
354
354
tcx : TyCtxt < ' _ > ,
355
355
dep_node_index : SerializedDepNodeIndex ,
@@ -365,7 +365,7 @@ impl<'sess> OnDiskCache<'sess> {
365
365
/// the next compilation session.
366
366
#[ inline( never) ]
367
367
#[ cold]
368
- pub fn store_diagnostics (
368
+ crate fn store_diagnostics (
369
369
& self ,
370
370
dep_node_index : DepNodeIndex ,
371
371
diagnostics : ThinVec < Diagnostic > ,
@@ -394,7 +394,7 @@ impl<'sess> OnDiskCache<'sess> {
394
394
/// 1:1 relationship between query-key and `DepNode`.
395
395
#[ inline( never) ]
396
396
#[ cold]
397
- pub fn store_diagnostics_for_anon_node (
397
+ crate fn store_diagnostics_for_anon_node (
398
398
& self ,
399
399
dep_node_index : DepNodeIndex ,
400
400
diagnostics : ThinVec < Diagnostic > ,
@@ -973,7 +973,7 @@ where
973
973
struct IntEncodedWithFixedSize ( u64 ) ;
974
974
975
975
impl IntEncodedWithFixedSize {
976
- pub const ENCODED_SIZE : usize = 8 ;
976
+ const ENCODED_SIZE : usize = 8 ;
977
977
}
978
978
979
979
impl Encodable < opaque:: Encoder > for IntEncodedWithFixedSize {
0 commit comments