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