We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e239e73 commit 0881e3eCopy full SHA for 0881e3e
compiler/rustc_trait_selection/src/solve/normalizes_to/mod.rs
@@ -855,7 +855,7 @@ impl<'tcx> assembly::GoalKind<'tcx> for NormalizesTo<'tcx> {
855
goal.predicate.self_ty()
856
),
857
858
- _ => bug!(
+ ty::Pat(..) | ty::Dynamic(..) | ty::Coroutine(..) | ty::CoroutineWitness(..) => bug!(
859
"`consider_builtin_async_destruct_candidate` is not yet implemented for type: {self_ty:?}"
860
861
};
0 commit comments