]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/point-at-type-on-obligation-failure.stderr
feat(rustdoc): open sidebar menu when links inside it are focused
[rust.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: Bar2<Ok=Self::Ok>;
5    |                        ----------- required by this bound in `Bar::Sibling`
6 ...
7 LL |     type Sibling = Foo2;
8    |     ^^^^^^^^^^^^^^^^^^^^ expected `()`, found `u32`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0271`.