Skip to content

Commit b40529c

Browse files
committed
projection predicates can be copy
1 parent 9ef768c commit b40529c

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc/ty/mod.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -995,7 +995,7 @@ pub type PolyTypeOutlivesPredicate<'tcx> = PolyOutlivesPredicate<Ty<'tcx>, ty::R
995995
/// equality between arbitrary types. Processing an instance of Form
996996
/// #2 eventually yields one of these `ProjectionPredicate`
997997
/// instances to normalize the LHS.
998-
#[derive(Clone, PartialEq, Eq, Hash)]
998+
#[derive(Copy, Clone, PartialEq, Eq, Hash)]
999999
pub struct ProjectionPredicate<'tcx> {
10001000
pub projection_ty: ProjectionTy<'tcx>,
10011001
pub ty: Ty<'tcx>,

0 commit comments

Comments
 (0)