]> git.proxmox.com Git - rustc.git/blob - src/test/ui/hrtb/issue-62203-hrtb-ice.stderr
New upstream version 1.38.0+dfsg1
[rustc.git] / src / test / ui / hrtb / issue-62203-hrtb-ice.stderr
1 error[E0271]: type mismatch resolving `for<'r> <L<[closure@$DIR/issue-62203-hrtb-ice.rs:42:17: 42:39]> as T0<'r, (<Unit2 as Ty<'r>>::V,)>>::O == <_ as Ty<'r>>::V`
2 --> $DIR/issue-62203-hrtb-ice.rs:38:19
3 |
4 LL | let v = Unit2.m(
5 | ^ expected struct `Unit4`, found associated type
6 |
7 = note: expected type `Unit4`
8 found type `<_ as Ty<'_>>::V`
9
10 error[E0271]: type mismatch resolving `<[closure@$DIR/issue-62203-hrtb-ice.rs:42:17: 42:39] as std::ops::FnOnce<((&u8,),)>>::Output == Unit3`
11 --> $DIR/issue-62203-hrtb-ice.rs:38:19
12 |
13 LL | let v = Unit2.m(
14 | ^ expected struct `Unit4`, found struct `Unit3`
15 |
16 = note: expected type `Unit4`
17 found type `Unit3`
18 = note: required because of the requirements on the impl of `for<'r> T0<'r, (<Unit2 as Ty<'r>>::V,)>` for `L<[closure@$DIR/issue-62203-hrtb-ice.rs:42:17: 42:39]>`
19
20 error: aborting due to 2 previous errors
21
22 For more information about this error, try `rustc --explain E0271`.