1 error[E0308]: mismatched types
2 --> $DIR/defaults-in-other-trait-items.rs:9:13
5 | ^^ expected associated type, found `()`
7 = note: expected associated type `<Self as Tr>::A`
9 = note: consider constraining the associated type `<Self as Tr>::A` to `()` or calling a method that returns `<Self as Tr>::A`
10 = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html
12 error[E0308]: mismatched types
13 --> $DIR/defaults-in-other-trait-items.rs:39:25
15 LL | const C: Self::Ty = 0u8;
16 | ^^^ expected associated type, found `u8`
18 = note: expected associated type `<Self as AssocConst>::Ty`
20 = note: consider constraining the associated type `<Self as AssocConst>::Ty` to `u8` or calling a method that returns `<Self as AssocConst>::Ty`
21 = note: for more information, visit https://doc.rust-lang.org/book/ch19-03-advanced-traits.html
23 error: aborting due to 2 previous errors
25 For more information about this error, try `rustc --explain E0308`.