]> git.proxmox.com Git - rustc.git/blame - src/test/ui/error-codes/E0271.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / error-codes / E0271.stderr
CommitLineData
2c00a5a8 1error[E0271]: type mismatch resolving `<i8 as Trait>::AssociatedType == u32`
0731742a 2 --> $DIR/E0271.rs:10:5
2c00a5a8 3 |
532ac7d7 4LL | foo(3_i8);
60c5eb7d 5 | ^^^ expected `u32`, found `&str`
94222f64
XL
6 |
7note: required by a bound in `foo`
8 --> $DIR/E0271.rs:3:32
9 |
10LL | fn foo<T>(t: T) where T: Trait<AssociatedType=u32> {
11 | ^^^^^^^^^^^^^^^^^^ required by this bound in `foo`
2c00a5a8
XL
12
13error: aborting due to previous error
14
0531ce1d 15For more information about this error, try `rustc --explain E0271`.