1error[E0275]: overflow evaluating the requirement `<T as Foo>::Item: Sized`
2  --> $DIR/projection-bound-cycle-generic.rs:44:18
3   |
4LL |     type Assoc = OnlySized<<T as Foo>::Item>;
5   |                  ^^^^^^^^^^^^^^^^^^^^^^^^^^^
6   |
7note: required by a bound in `OnlySized`
8  --> $DIR/projection-bound-cycle-generic.rs:28:18
9   |
10LL | struct OnlySized<T> where T: Sized { f: T }
11   |                  ^ required by this bound in `OnlySized`
12
13error: aborting due to previous error
14
15For more information about this error, try `rustc --explain E0275`.
16