fn sum>(i: I) -> i32 where I::Item = i32 { //~^ ERROR equality constraints are not yet supported in `where` clauses panic!() } fn sum2(i: I) -> i32 where I::Item = i32 { //~^ ERROR equality constraints are not yet supported in `where` clauses panic!() } fn sum3(i: J) -> i32 where I::Item = i32 { //~^ ERROR equality constraints are not yet supported in `where` clauses //~| ERROR failed to resolve: use of undeclared type `I` panic!() } fn main() {}