mirror of
https://github.com/rust-lang/rust.git
synced 2024-11-22 14:55:26 +00:00
Exhaustivelly match TyKind in consider_builtin_async_destruct_candidate
This commit is contained in:
parent
e239e73a77
commit
0881e3e531
@ -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…
Reference in New Issue
Block a user