//@ check-pass use std::ops::Add; pub trait GroupOpsOwned: for<'r> Add<&'r Rhs, Output = Output> {} pub trait Curve: Sized + GroupOpsOwned { type AffineRepr; } pub trait CofactorCurve: Curve::Affine> { type Affine; } fn main() {}