|
1 | 1 | error[E0277]: the trait bound `{integer}: std::ops::Add<std::option::Option<{integer}>>` is not satisfied
|
2 |
| - --> $DIR/binops.rs:12:5 |
| 2 | + --> $DIR/binops.rs:12:7 |
3 | 3 | |
|
4 | 4 | 12 | 1 + Some(1);
|
5 |
| - | ^^^^^^^^^^^ no implementation for `{integer} + std::option::Option<{integer}>` |
| 5 | + | ^ no implementation for `{integer} + std::option::Option<{integer}>` |
6 | 6 | |
|
7 | 7 | = help: the trait `std::ops::Add<std::option::Option<{integer}>>` is not implemented for `{integer}`
|
8 | 8 |
|
9 | 9 | error[E0277]: the trait bound `usize: std::ops::Sub<std::option::Option<{integer}>>` is not satisfied
|
10 |
| - --> $DIR/binops.rs:13:5 |
| 10 | + --> $DIR/binops.rs:13:16 |
11 | 11 | |
|
12 | 12 | 13 | 2 as usize - Some(1);
|
13 |
| - | ^^^^^^^^^^^^^^^^^^^^ no implementation for `usize - std::option::Option<{integer}>` |
| 13 | + | ^ no implementation for `usize - std::option::Option<{integer}>` |
14 | 14 | |
|
15 | 15 | = help: the trait `std::ops::Sub<std::option::Option<{integer}>>` is not implemented for `usize`
|
16 | 16 |
|
17 | 17 | error[E0277]: the trait bound `{integer}: std::ops::Mul<()>` is not satisfied
|
18 |
| - --> $DIR/binops.rs:14:5 |
| 18 | + --> $DIR/binops.rs:14:7 |
19 | 19 | |
|
20 | 20 | 14 | 3 * ();
|
21 |
| - | ^^^^^^ no implementation for `{integer} * ()` |
| 21 | + | ^ no implementation for `{integer} * ()` |
22 | 22 | |
|
23 | 23 | = help: the trait `std::ops::Mul<()>` is not implemented for `{integer}`
|
24 | 24 |
|
25 | 25 | error[E0277]: the trait bound `{integer}: std::ops::Div<&str>` is not satisfied
|
26 |
| - --> $DIR/binops.rs:15:5 |
| 26 | + --> $DIR/binops.rs:15:7 |
27 | 27 | |
|
28 | 28 | 15 | 4 / "";
|
29 |
| - | ^^^^^^ no implementation for `{integer} / &str` |
| 29 | + | ^ no implementation for `{integer} / &str` |
30 | 30 | |
|
31 | 31 | = help: the trait `std::ops::Div<&str>` is not implemented for `{integer}`
|
32 | 32 |
|
33 | 33 | error[E0277]: the trait bound `{integer}: std::cmp::PartialEq<std::string::String>` is not satisfied
|
34 |
| - --> $DIR/binops.rs:16:5 |
| 34 | + --> $DIR/binops.rs:16:7 |
35 | 35 | |
|
36 | 36 | 16 | 5 < String::new();
|
37 |
| - | ^^^^^^^^^^^^^^^^^ can't compare `{integer}` with `std::string::String` |
| 37 | + | ^ can't compare `{integer}` with `std::string::String` |
38 | 38 | |
|
39 | 39 | = help: the trait `std::cmp::PartialEq<std::string::String>` is not implemented for `{integer}`
|
40 | 40 |
|
41 | 41 | error[E0277]: the trait bound `{integer}: std::cmp::PartialOrd<std::string::String>` is not satisfied
|
42 |
| - --> $DIR/binops.rs:16:5 |
| 42 | + --> $DIR/binops.rs:16:7 |
43 | 43 | |
|
44 | 44 | 16 | 5 < String::new();
|
45 |
| - | ^^^^^^^^^^^^^^^^^ can't compare `{integer}` with `std::string::String` |
| 45 | + | ^ can't compare `{integer}` with `std::string::String` |
46 | 46 | |
|
47 | 47 | = help: the trait `std::cmp::PartialOrd<std::string::String>` is not implemented for `{integer}`
|
48 | 48 |
|
49 | 49 | error[E0277]: the trait bound `{integer}: std::cmp::PartialEq<std::result::Result<{integer}, _>>` is not satisfied
|
50 |
| - --> $DIR/binops.rs:17:5 |
| 50 | + --> $DIR/binops.rs:17:7 |
51 | 51 | |
|
52 | 52 | 17 | 6 == Ok(1);
|
53 |
| - | ^^^^^^^^^^ can't compare `{integer}` with `std::result::Result<{integer}, _>` |
| 53 | + | ^^ can't compare `{integer}` with `std::result::Result<{integer}, _>` |
54 | 54 | |
|
55 | 55 | = help: the trait `std::cmp::PartialEq<std::result::Result<{integer}, _>>` is not implemented for `{integer}`
|
56 | 56 |
|
|
0 commit comments