]> git.proxmox.com Git - rustc.git/blame - src/test/ui/associated-types/issue-72806.stderr
New upstream version 1.59.0+dfsg1
[rustc.git] / src / test / ui / associated-types / issue-72806.stderr
CommitLineData
f9f354fc 1error[E0271]: type mismatch resolving `<Foo2 as Bar2>::Ok == char`
a2a8927a 2 --> $DIR/issue-72806.rs:14:20
f9f354fc 3 |
29967ef6 4LL | type Sibling = Foo2;
a2a8927a 5 | ^^^^ type mismatch resolving `<Foo2 as Bar2>::Ok == char`
94222f64 6 |
a2a8927a
XL
7note: expected this to be `char`
8 --> $DIR/issue-72806.rs:18:15
9 |
10LL | type Ok = u32;
11 | ^^^
94222f64
XL
12note: required by a bound in `Bar::Sibling`
13 --> $DIR/issue-72806.rs:3:24
14 |
15LL | type Sibling: Bar2<Ok=char>;
16 | ^^^^^^^ required by this bound in `Bar::Sibling`
f9f354fc
XL
17
18error: aborting due to previous error
19
20For more information about this error, try `rustc --explain E0271`.