]> git.lizzy.rs Git - rust.git/blob - src/test/ui/associated-types/issue-72806.stderr
Rollup merge of #76468 - SNCPlay42:lifetime-names, r=Mark-Simulacrum
[rust.git] / src / test / ui / associated-types / issue-72806.stderr
1 error[E0271]: type mismatch resolving `<Foo2 as Bar2>::Ok == char`
2   --> $DIR/issue-72806.rs:14:5
3    |
4 LL |     type Sibling: Bar2<Ok=char>;
5    |                        ------- required by this bound in `Bar::Sibling`
6 ...
7 LL |     type Sibling = Foo2;
8    |     ^^^^^^^^^^^^^^^^^^^^ expected `char`, found `u32`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0271`.