fork/rust
git clone https://git.julia.blue/fork/rust
4560ea788cb
1.39.0
1error[E0277]: cannot add `u32` to `i32` 2 --> $DIR/ufcs-qpath-self-mismatch.rs:4:5 3 | 4LL | <i32 as Add<u32>>::add(1, 2); 5 | ^^^^^^^^^^^^^^^^^^^^^^ no implementation for `i32 + u32` 6 | 7 = help: the trait `std::ops::Add<u32>` is not implemented for `i32` 8 9error[E0308]: mismatched types 10 --> $DIR/ufcs-qpath-self-mismatch.rs:6:28 11 | 12LL | <i32 as Add<i32>>::add(1u32, 2); 13 | ^^^^ expected i32, found u32 14help: change the type of the numeric literal from `u32` to `i32` 15 | 16LL | <i32 as Add<i32>>::add(1i32, 2); 17 | ^^^^ 18 19error[E0308]: mismatched types 20 --> $DIR/ufcs-qpath-self-mismatch.rs:8:31 21 | 22LL | <i32 as Add<i32>>::add(1, 2u32); 23 | ^^^^ expected i32, found u32 24help: change the type of the numeric literal from `u32` to `i32` 25 | 26LL | <i32 as Add<i32>>::add(1, 2i32); 27 | ^^^^ 28 29error: aborting due to 3 previous errors 30 31Some errors have detailed explanations: E0277, E0308. 32For more information about an error, try `rustc --explain E0277`.