1 error[E0277]: cannot add `Option<{integer}>` to `{integer}`
5 | ^ no implementation for `{integer} + Option<{integer}>`
7 = help: the trait `Add<Option<{integer}>>` is not implemented for `{integer}`
8 = help: the following other types implement trait `Add<Rhs>`:
11 <&'a i128 as Add<i128>>
16 <&'a isize as Add<isize>>
19 error[E0277]: cannot subtract `Option<{integer}>` from `usize`
20 --> $DIR/binops.rs:3:16
22 LL | 2 as usize - Some(1);
23 | ^ no implementation for `usize - Option<{integer}>`
25 = help: the trait `Sub<Option<{integer}>>` is not implemented for `usize`
26 = help: the following other types implement trait `Sub<Rhs>`:
29 <&'a i128 as Sub<i128>>
34 <&'a isize as Sub<isize>>
37 error[E0277]: cannot multiply `{integer}` by `()`
38 --> $DIR/binops.rs:4:7
41 | ^ no implementation for `{integer} * ()`
43 = help: the trait `Mul<()>` is not implemented for `{integer}`
44 = help: the following other types implement trait `Mul<Rhs>`:
47 <&'a i128 as Mul<i128>>
52 <&'a isize as Mul<isize>>
55 error[E0277]: cannot divide `{integer}` by `&str`
56 --> $DIR/binops.rs:5:7
59 | ^ no implementation for `{integer} / &str`
61 = help: the trait `Div<&str>` is not implemented for `{integer}`
62 = help: the following other types implement trait `Div<Rhs>`:
65 <&'a i128 as Div<i128>>
70 <&'a isize as Div<isize>>
73 error[E0277]: can't compare `{integer}` with `String`
74 --> $DIR/binops.rs:6:7
76 LL | 5 < String::new();
77 | ^ no implementation for `{integer} < String` and `{integer} > String`
79 = help: the trait `PartialOrd<String>` is not implemented for `{integer}`
80 = help: the following other types implement trait `PartialOrd<Rhs>`:
91 error[E0277]: can't compare `{integer}` with `Result<{integer}, _>`
92 --> $DIR/binops.rs:7:7
95 | ^^ no implementation for `{integer} == Result<{integer}, _>`
97 = help: the trait `PartialEq<Result<{integer}, _>>` is not implemented for `{integer}`
98 = help: the following other types implement trait `PartialEq<Rhs>`:
109 error: aborting due to 6 previous errors
111 For more information about this error, try `rustc --explain E0277`.