File tree 2 files changed +5
-2
lines changed
compiler/rustc_middle/src
2 files changed +5
-2
lines changed Original file line number Diff line number Diff line change @@ -522,6 +522,7 @@ rustc_queries! {
522
522
}
523
523
query adt_def( key: DefId ) -> & ' tcx ty:: AdtDef {
524
524
desc { |tcx| "computing ADT definition for `{}`" , tcx. def_path_str( key) }
525
+ cache_on_disk_if { true }
525
526
separate_provide_extern
526
527
}
527
528
query adt_destructor( key: DefId ) -> Option <ty:: Destructor > {
Original file line number Diff line number Diff line change @@ -155,7 +155,8 @@ encodable_via_deref! {
155
155
& ' tcx mir:: Body <' tcx>,
156
156
& ' tcx mir:: UnsafetyCheckResult ,
157
157
& ' tcx mir:: BorrowCheckResult <' tcx>,
158
- & ' tcx mir:: coverage:: CodeRegion
158
+ & ' tcx mir:: coverage:: CodeRegion ,
159
+ & ' tcx ty:: AdtDef
159
160
}
160
161
161
162
pub trait TyDecoder < ' tcx > : Decoder {
@@ -391,7 +392,8 @@ impl_decodable_via_ref! {
391
392
& ' tcx mir:: UnsafetyCheckResult ,
392
393
& ' tcx mir:: BorrowCheckResult <' tcx>,
393
394
& ' tcx mir:: coverage:: CodeRegion ,
394
- & ' tcx ty:: List <ty:: BoundVariableKind >
395
+ & ' tcx ty:: List <ty:: BoundVariableKind >,
396
+ & ' tcx ty:: AdtDef
395
397
}
396
398
397
399
#[ macro_export]
You can’t perform that action at this time.
0 commit comments