1 error[E0277]: cannot add `u32` to `i32`
2 --> $DIR/ufcs-qpath-self-mismatch.rs:4:5
4 LL | <i32 as Add<u32>>::add(1, 2);
5 | ^^^^^^^^^^^^^^^^^^^^^^ no implementation for `i32 + u32`
7 = help: the trait `Add<u32>` is not implemented for `i32`
9 error[E0308]: mismatched types
10 --> $DIR/ufcs-qpath-self-mismatch.rs:6:28
12 LL | <i32 as Add<i32>>::add(1u32, 2);
13 | ^^^^ expected `i32`, found `u32`
15 help: change the type of the numeric literal from `u32` to `i32`
17 LL | <i32 as Add<i32>>::add(1i32, 2);
20 error[E0308]: mismatched types
21 --> $DIR/ufcs-qpath-self-mismatch.rs:8:31
23 LL | <i32 as Add<i32>>::add(1, 2u32);
24 | ^^^^ expected `i32`, found `u32`
26 help: change the type of the numeric literal from `u32` to `i32`
28 LL | <i32 as Add<i32>>::add(1, 2i32);
31 error: aborting due to 3 previous errors
33 Some errors have detailed explanations: E0277, E0308.
34 For more information about an error, try `rustc --explain E0277`.