// Check that this program doesn't cause the compiler to error without output. #![feature(generic_associated_types)] trait Foo { type Assoc3; } struct Bar; impl Foo for Bar { type Assoc3 = Vec where T: Iterator; //~^ ERROR impl has stricter requirements than trait } fn main() {}