]> git.proxmox.com Git - rustc.git/blob - src/test/ui/associated-types/point-at-type-on-obligation-failure.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / associated-types / point-at-type-on-obligation-failure.stderr
1 error[E0271]: type mismatch resolving `<Foo2 as Bar2>::Ok == ()`
2 --> $DIR/point-at-type-on-obligation-failure.rs:14:5
3 |
4 LL | type Sibling = Foo2;
5 | ^^^^^^^^^^^^^^^^^^^^ expected `()`, found `u32`
6 |
7 note: required by a bound in `Bar::Sibling`
8 --> $DIR/point-at-type-on-obligation-failure.rs:3:24
9 |
10 LL | type Sibling: Bar2<Ok=Self::Ok>;
11 | ^^^^^^^^^^^ required by this bound in `Bar::Sibling`
12
13 error: aborting due to previous error
14
15 For more information about this error, try `rustc --explain E0271`.