]> git.proxmox.com Git - rustc.git/blame - src/test/ui/generic-associated-types/projection-bound-cycle-generic.stderr
New upstream version 1.55.0+dfsg1
[rustc.git] / src / test / ui / generic-associated-types / projection-bound-cycle-generic.stderr
CommitLineData
29967ef6 1error[E0275]: overflow evaluating the requirement `<T as Foo>::Item: Sized`
136023e0 2 --> $DIR/projection-bound-cycle-generic.rs:44:5
29967ef6
XL
3 |
4LL | struct OnlySized<T> where T: Sized { f: T }
5 | - required by this bound in `OnlySized`
6...
7LL | type Assoc = OnlySized<<T as Foo>::Item>;
8 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
9
136023e0 10error: aborting due to previous error
29967ef6
XL
11
12For more information about this error, try `rustc --explain E0275`.