fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0271]: type mismatch resolving `<i8 as Trait>::AssociatedType == u32` 2 --> $DIR/E0271.rs:10:5 3 | 4LL | fn foo<T>(t: T) where T: Trait<AssociatedType=u32> { 5 | --- ------------------ required by this bound in `foo` 6... 7LL | foo(3_i8); 8 | ^^^ expected reference, found u32 9 | 10 = note: expected type `&'static str` 11 found type `u32` 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0271`.