File tree Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Expand file tree Collapse file tree 2 files changed +4
-2
lines changed Original file line number Diff line number Diff line change @@ -205,7 +205,8 @@ impl<'tcx> AnalysisCtxt<'tcx> {
205
205
| ty:: InstanceDef :: DropGlue ( ..)
206
206
| ty:: InstanceDef :: CloneShim ( ..)
207
207
| ty:: InstanceDef :: ThreadLocalShim ( ..)
208
- | ty:: InstanceDef :: FnPtrAddrShim ( ..) => self . mir_shims ( instance) ,
208
+ | ty:: InstanceDef :: FnPtrAddrShim ( ..)
209
+ | ty:: InstanceDef :: AsyncDropGlueCtorShim ( ..) => self . mir_shims ( instance) ,
209
210
}
210
211
}
211
212
}
Original file line number Diff line number Diff line change @@ -731,13 +731,14 @@ fn visit_instance_use<'tcx>(
731
731
ty:: InstanceDef :: ThreadLocalShim ( ..) => {
732
732
bug ! ( "{:?} being reified" , instance) ;
733
733
}
734
- ty:: InstanceDef :: DropGlue ( _, None ) => {
734
+ ty:: InstanceDef :: DropGlue ( _, None ) | ty :: InstanceDef :: AsyncDropGlueCtorShim ( _ , None ) => {
735
735
// Don't need to emit noop drop glue if we are calling directly.
736
736
if !is_direct_call {
737
737
output. push ( create_fn_mono_item ( tcx, instance, source) ) ;
738
738
}
739
739
}
740
740
ty:: InstanceDef :: DropGlue ( _, Some ( _) )
741
+ | ty:: InstanceDef :: AsyncDropGlueCtorShim ( _, Some ( _) )
741
742
| ty:: InstanceDef :: VTableShim ( ..)
742
743
| ty:: InstanceDef :: ReifyShim ( ..)
743
744
| ty:: InstanceDef :: ClosureOnceShim { .. }
You can’t perform that action at this time.
0 commit comments