1 error[E0271]: type mismatch resolving `<i8 as Trait>::AssociatedType == u32`
5 | --- ^^^^ type mismatch resolving `<i8 as Trait>::AssociatedType == u32`
7 | required by a bound introduced by this call
9 note: expected this to be `u32`
10 --> $DIR/E0271.rs:7:43
12 LL | impl Trait for i8 { type AssociatedType = &'static str; }
14 note: required by a bound in `foo`
15 --> $DIR/E0271.rs:3:32
17 LL | fn foo<T>(t: T) where T: Trait<AssociatedType=u32> {
18 | ^^^^^^^^^^^^^^^^^^ required by this bound in `foo`
20 error: aborting due to previous error
22 For more information about this error, try `rustc --explain E0271`.