File tree Expand file tree Collapse file tree 1 file changed +6
-6
lines changed
compiler/rustc_monomorphize/src Expand file tree Collapse file tree 1 file changed +6
-6
lines changed Original file line number Diff line number Diff line change @@ -633,16 +633,16 @@ fn characteristic_def_id_of_mono_item<'tcx>(
633
633
match mono_item {
634
634
MonoItem :: Fn ( instance) => {
635
635
let def_id = match instance. def {
636
- ty:: InstanceKind :: Item ( def ) => def ,
637
- ty:: InstanceKind :: VTableShim ( ..)
636
+ ty:: InstanceKind :: Item ( .. )
637
+ | ty:: InstanceKind :: VTableShim ( ..)
638
638
| ty:: InstanceKind :: ReifyShim ( ..)
639
- | ty:: InstanceKind :: FnPtrShim ( ..)
639
+ | ty:: InstanceKind :: Virtual ( ..)
640
640
| ty:: InstanceKind :: ClosureOnceShim { .. }
641
641
| ty:: InstanceKind :: ConstructCoroutineInClosureShim { .. }
642
- | ty:: InstanceKind :: Intrinsic ( ..)
643
642
| ty:: InstanceKind :: DropGlue ( ..)
644
- | ty:: InstanceKind :: Virtual ( ..)
645
- | ty:: InstanceKind :: CloneShim ( ..)
643
+ | ty:: InstanceKind :: CloneShim ( ..) => instance. def_id ( ) ,
644
+ ty:: InstanceKind :: Intrinsic ( ..)
645
+ | ty:: InstanceKind :: FnPtrShim ( ..)
646
646
| ty:: InstanceKind :: ThreadLocalShim ( ..)
647
647
| ty:: InstanceKind :: FnPtrAddrShim ( ..)
648
648
| ty:: InstanceKind :: FutureDropPollShim ( ..)
You can’t perform that action at this time.
0 commit comments