// check-pass // The goal of this test is to ensure that T: Bar // in the where clause does not cycle trait Foo { type Item; } trait Bar {} fn baz() where T: Foo, T: Bar, { } fn main() {}