summary refs log tree commit diff
path: root/src/test/ui/error-codes/E0271.stderr
blob: 580b5aef07e6db249a3df558e47371902c830dfb (plain)
1
2
3
4
5
6
7
8
9
10
11
12
error[E0271]: type mismatch resolving `<i8 as Trait>::AssociatedType == u32`
  --> $DIR/E0271.rs:10:5
   |
LL | fn foo<T>(t: T) where T: Trait<AssociatedType=u32> {
   |                                ------------------ required by this bound in `foo`
...
LL |     foo(3_i8);
   |     ^^^ expected `u32`, found `&str`

error: aborting due to previous error

For more information about this error, try `rustc --explain E0271`.