We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 5087bb1 commit cdef3b1Copy full SHA for cdef3b1
compiler/rustc_middle/src/ty/relate.rs
@@ -831,19 +831,6 @@ impl<'tcx> Relate<'tcx> for Term<'tcx> {
831
}
832
833
834
-impl<'tcx> Relate<'tcx> for ty::ProjectionPredicate<'tcx> {
835
- fn relate<R: TypeRelation<'tcx>>(
836
- relation: &mut R,
837
- a: ty::ProjectionPredicate<'tcx>,
838
- b: ty::ProjectionPredicate<'tcx>,
839
- ) -> RelateResult<'tcx, ty::ProjectionPredicate<'tcx>> {
840
- Ok(ty::ProjectionPredicate {
841
- projection_ty: relation.relate(a.projection_ty, b.projection_ty)?,
842
- term: relation.relate(a.term, b.term)?,
843
- })
844
- }
845
-}
846
-
847
///////////////////////////////////////////////////////////////////////////
848
// Error handling
849
0 commit comments