--> $DIR/defaults-specialization.rs:88:32
|
LL | let _: <B<()> as Tr>::Ty = 0u8;
- | ^^^ expected associated type, found `u8`
+ | ----------------- ^^^ expected associated type, found `u8`
+ | |
+ | expected due to this
|
= note: expected associated type `<B<()> as Tr>::Ty`
found type `u8`
--> $DIR/defaults-specialization.rs:89:32
|
LL | let _: <B<()> as Tr>::Ty = true;
- | ^^^^ expected associated type, found `bool`
+ | ----------------- ^^^^ expected associated type, found `bool`
+ | |
+ | expected due to this
|
= note: expected associated type `<B<()> as Tr>::Ty`
found type `bool`
--> $DIR/defaults-specialization.rs:90:33
|
LL | let _: <B2<()> as Tr>::Ty = 0u8;
- | ^^^ expected associated type, found `u8`
+ | ------------------ ^^^ expected associated type, found `u8`
+ | |
+ | expected due to this
|
= note: expected associated type `<B2<()> as Tr>::Ty`
found type `u8`
--> $DIR/defaults-specialization.rs:91:33
|
LL | let _: <B2<()> as Tr>::Ty = true;
- | ^^^^ expected associated type, found `bool`
+ | ------------------ ^^^^ expected associated type, found `bool`
+ | |
+ | expected due to this
|
= note: expected associated type `<B2<()> as Tr>::Ty`
found type `bool`