Skip to content

Commit eb99c02

Browse files
committed
Bless test
1 parent c12cd90 commit eb99c02

File tree

2 files changed

+4
-4
lines changed

2 files changed

+4
-4
lines changed

src/test/ui/generic-associated-types/projection-bound-cycle-generic.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
error[E0275]: overflow evaluating the requirement `<T as Foo>::Item: Sized`
22
--> $DIR/projection-bound-cycle-generic.rs:44:5
33
|
4-
LL | struct OnlySized<T> where T: Sized { f: T }
5-
| - required by this bound in `OnlySized`
4+
LL | type Item: Sized where <Self as Foo>::Item: Sized;
5+
| ----- required by this bound in `Foo::Item`
66
...
77
LL | type Assoc = OnlySized<<T as Foo>::Item>;
88
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

src/test/ui/generic-associated-types/projection-bound-cycle.stderr

Lines changed: 2 additions & 2 deletions
Original file line numberDiff line numberDiff line change
@@ -1,8 +1,8 @@
11
error[E0275]: overflow evaluating the requirement `<T as Foo>::Item: Sized`
22
--> $DIR/projection-bound-cycle.rs:46:5
33
|
4-
LL | struct OnlySized<T> where T: Sized { f: T }
5-
| - required by this bound in `OnlySized`
4+
LL | type Item: Sized where <Self as Foo>::Item: Sized;
5+
| ----- required by this bound in `Foo::Item`
66
...
77
LL | type Assoc = OnlySized<<T as Foo>::Item>;
88
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^

0 commit comments

Comments
 (0)