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