Exhaustivelly match TyKind in consider_builtin_async_destruct_candidate
This commit is contained in:
parent
e239e73a77
commit
0881e3e531
1 changed files with 1 additions and 1 deletions
|
@ -855,7 +855,7 @@ impl<'tcx> assembly::GoalKind<'tcx> for NormalizesTo<'tcx> {
|
|||
goal.predicate.self_ty()
|
||||
),
|
||||
|
||||
_ => bug!(
|
||||
ty::Pat(..) | ty::Dynamic(..) | ty::Coroutine(..) | ty::CoroutineWitness(..) => bug!(
|
||||
"`consider_builtin_async_destruct_candidate` is not yet implemented for type: {self_ty:?}"
|
||||
),
|
||||
};
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue