]> git.proxmox.com Git - rustc.git/blob - src/test/ui/error-codes/E0271.stderr
New upstream version 1.49.0+dfsg1
[rustc.git] / src / test / ui / error-codes / E0271.stderr
1 error[E0271]: type mismatch resolving `<i8 as Trait>::AssociatedType == u32`
2 --> $DIR/E0271.rs:10:5
3 |
4 LL | fn foo<T>(t: T) where T: Trait<AssociatedType=u32> {
5 | ------------------ required by this bound in `foo`
6 ...
7 LL | foo(3_i8);
8 | ^^^ expected `u32`, found `&str`
9
10 error: aborting due to previous error
11
12 For more information about this error, try `rustc --explain E0271`.