fork/rust
git clone https://git.julia.blue/fork/rust
73528e339aa
1.40.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 u32, found reference 9 | 10 = note: expected type `u32` 11 found type `&'static str` 12 13error: aborting due to previous error 14 15For more information about this error, try `rustc --explain E0271`.