@@ -5,7 +5,7 @@ LL | 1 + Some(1);
5
5
| ^ no implementation for `{integer} + Option<{integer}>`
6
6
|
7
7
= help: the trait `Add<Option<{integer}>>` is not implemented for `{integer}`
8
- = help: the following other types implement trait `Add`:
8
+ = help: the following other types implement trait `Add<Rhs> `:
9
9
<&'a f32 as Add<f32>>
10
10
<&'a f64 as Add<f64>>
11
11
<&'a i128 as Add<i128>>
@@ -23,7 +23,7 @@ LL | 2 as usize - Some(1);
23
23
| ^ no implementation for `usize - Option<{integer}>`
24
24
|
25
25
= help: the trait `Sub<Option<{integer}>>` is not implemented for `usize`
26
- = help: the following other types implement trait `Sub`:
26
+ = help: the following other types implement trait `Sub<Rhs> `:
27
27
<&'a f32 as Sub<f32>>
28
28
<&'a f64 as Sub<f64>>
29
29
<&'a i128 as Sub<i128>>
@@ -41,7 +41,7 @@ LL | 3 * ();
41
41
| ^ no implementation for `{integer} * ()`
42
42
|
43
43
= help: the trait `Mul<()>` is not implemented for `{integer}`
44
- = help: the following other types implement trait `Mul`:
44
+ = help: the following other types implement trait `Mul<Rhs> `:
45
45
<&'a f32 as Mul<f32>>
46
46
<&'a f64 as Mul<f64>>
47
47
<&'a i128 as Mul<i128>>
@@ -59,7 +59,7 @@ LL | 4 / "";
59
59
| ^ no implementation for `{integer} / &str`
60
60
|
61
61
= help: the trait `Div<&str>` is not implemented for `{integer}`
62
- = help: the following other types implement trait `Div`:
62
+ = help: the following other types implement trait `Div<Rhs> `:
63
63
<&'a f32 as Div<f32>>
64
64
<&'a f64 as Div<f64>>
65
65
<&'a i128 as Div<i128>>
@@ -77,7 +77,7 @@ LL | 5 < String::new();
77
77
| ^ no implementation for `{integer} < String` and `{integer} > String`
78
78
|
79
79
= help: the trait `PartialOrd<String>` is not implemented for `{integer}`
80
- = help: the following other types implement trait `PartialOrd`:
80
+ = help: the following other types implement trait `PartialOrd<Rhs> `:
81
81
f32
82
82
f64
83
83
i128
@@ -95,7 +95,7 @@ LL | 6 == Ok(1);
95
95
| ^^ no implementation for `{integer} == Result<{integer}, _>`
96
96
|
97
97
= help: the trait `PartialEq<Result<{integer}, _>>` is not implemented for `{integer}`
98
- = help: the following other types implement trait `PartialEq`:
98
+ = help: the following other types implement trait `PartialEq<Rhs> `:
99
99
f32
100
100
f64
101
101
i128
0 commit comments