-
Notifications
You must be signed in to change notification settings - Fork 12.9k
Commit
This commit does not belong to any branch on this repository, and may belong to a fork outside of the repository.
- Loading branch information
1 parent
eb13b7b
commit 99638a6
Showing
2 changed files
with
26 additions
and
26 deletions.
There are no files selected for viewing
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
This file contains bidirectional Unicode text that may be interpreted or compiled differently than what appears below. To review, open the file in an editor that reveals hidden Unicode characters.
Learn more about bidirectional Unicode characters
Original file line number | Diff line number | Diff line change |
---|---|---|
@@ -1,17 +1,16 @@ | ||
error[E0271]: type mismatch resolving `for<'r> <L<[[email protected]:41:12]> as T0<'r, (&'r u8,)>>::O == <_ as Ty<'r>>::V` | ||
--> $DIR/issue-62203-hrtb-ice.rs:38:21 | ||
error[E0271]: type mismatch resolving `for<'r> <L<[[email protected]:42:16]> as T0<'r, (&'r u8,)>>::O == <_ as Ty<'r>>::V` | ||
--> $DIR/issue-62203-hrtb-ice.rs:39:9 | ||
| | ||
LL | let v = Unit2.m(L { | ||
| ___________________-_^ | ||
| | | | ||
| | required by a bound introduced by this call | ||
LL | let v = Unit2.m( | ||
| - required by a bound introduced by this call | ||
LL | / L { | ||
LL | | | ||
LL | | | ||
LL | | f: |x| { | ||
LL | | f: |x| { | ||
... | | ||
LL | | }, | ||
LL | | }, | ||
LL | | }); | ||
| |_____^ type mismatch resolving `for<'r> <L<[[email protected]:41:12]> as T0<'r, (&'r u8,)>>::O == <_ as Ty<'r>>::V` | ||
| |_________^ type mismatch resolving `for<'r> <L<[[email protected]:42:16]> as T0<'r, (&'r u8,)>>::O == <_ as Ty<'r>>::V` | ||
| | ||
note: expected this to be `<_ as Ty<'_>>::V` | ||
--> $DIR/issue-62203-hrtb-ice.rs:21:14 | ||
|
@@ -31,22 +30,21 @@ LL | where | |
LL | F: for<'r> T0<'r, (<Self as Ty<'r>>::V,), O = <B as Ty<'r>>::V>, | ||
| ^^^^^^^^^^^^^^^^^^^^ required by this bound in `T1::m` | ||
|
||
error[E0271]: expected `[[email protected]:41:12]` to be a closure that returns `Unit3`, but it returns `Unit4` | ||
--> $DIR/issue-62203-hrtb-ice.rs:38:21 | ||
error[E0271]: expected `[[email protected]:42:16]` to be a closure that returns `Unit3`, but it returns `Unit4` | ||
--> $DIR/issue-62203-hrtb-ice.rs:39:9 | ||
| | ||
LL | let v = Unit2.m(L { | ||
| ___________________-_^ | ||
| | | | ||
| | required by a bound introduced by this call | ||
LL | let v = Unit2.m( | ||
| - required by a bound introduced by this call | ||
LL | / L { | ||
LL | | | ||
LL | | | ||
LL | | f: |x| { | ||
LL | | f: |x| { | ||
... | | ||
LL | | }, | ||
LL | | }, | ||
LL | | }); | ||
| |_____^ expected struct `Unit3`, found struct `Unit4` | ||
| |_________^ expected struct `Unit3`, found struct `Unit4` | ||
| | ||
note: required for `L<[closure@$DIR/issue-62203-hrtb-ice.rs:41:12: 41:15]>` to implement `for<'r> T0<'r, (&'r u8,)>` | ||
note: required for `L<[closure@$DIR/issue-62203-hrtb-ice.rs:42:16: 42:19]>` to implement `for<'r> T0<'r, (&'r u8,)>` | ||
--> $DIR/issue-62203-hrtb-ice.rs:17:16 | ||
| | ||
LL | impl<'a, A, T> T0<'a, A> for L<T> | ||
|