Skip to content

Commit a5a0617

Browse files
committed
Fix compilation for nightly
1 parent 4ea8a72 commit a5a0617

File tree

2 files changed

+0
-2
lines changed

2 files changed

+0
-2
lines changed

src/mir.rs

-1
Original file line numberDiff line numberDiff line change
@@ -211,7 +211,6 @@ impl<'tcx> AnalysisCtxt<'tcx> {
211211
| ty::InstanceKind::Virtual(..)
212212
| ty::InstanceKind::ClosureOnceShim { .. }
213213
| ty::InstanceKind::ConstructCoroutineInClosureShim { .. }
214-
| ty::InstanceKind::CoroutineKindShim { .. }
215214
| ty::InstanceKind::DropGlue(..)
216215
| ty::InstanceKind::CloneShim(..)
217216
| ty::InstanceKind::ThreadLocalShim(..)

src/monomorphize_collector.rs

-1
Original file line numberDiff line numberDiff line change
@@ -748,7 +748,6 @@ fn visit_instance_use<'tcx>(
748748
| ty::InstanceKind::ReifyShim(..)
749749
| ty::InstanceKind::ClosureOnceShim { .. }
750750
| ty::InstanceKind::ConstructCoroutineInClosureShim { .. }
751-
| ty::InstanceKind::CoroutineKindShim { .. }
752751
| ty::InstanceKind::Item(..)
753752
| ty::InstanceKind::FnPtrShim(..)
754753
| ty::InstanceKind::CloneShim(..)

0 commit comments

Comments
 (0)