1error[E0308]: mismatched types
2  --> $DIR/issue-26681.rs:17:39
3   |
4LL |     const C: <Self::Fv as Foo>::Bar = 6665;
5   |                                       ^^^^ expected associated type, found integer
6   |
7   = note: expected associated type `<<Self as Baz>::Fv as Foo>::Bar`
8                         found type `{integer}`
9   = help: consider constraining the associated type `<<Self as Baz>::Fv as Foo>::Bar` to `{integer}`
10   = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html
11
12error: aborting due to previous error
13
14For more information about this error, try `rustc --explain E0308`.
15