@@ -11,7 +11,7 @@ note: an implementation of `Add<_>` might be missing for `A`
11
11
|
12
12
LL | struct A;
13
13
| ^^^^^^^^ must implement `Add<_>`
14
- note: the following trait must be implemented
14
+ note: the trait `Add` must be implemented
15
15
--> $SRC_DIR/core/src/ops/arith.rs:LL:COL
16
16
17
17
error[E0369]: cannot subtract `A` from `A`
@@ -27,7 +27,7 @@ note: an implementation of `Sub<_>` might be missing for `A`
27
27
|
28
28
LL | struct A;
29
29
| ^^^^^^^^ must implement `Sub<_>`
30
- note: the following trait must be implemented
30
+ note: the trait `Sub` must be implemented
31
31
--> $SRC_DIR/core/src/ops/arith.rs:LL:COL
32
32
33
33
error[E0369]: cannot multiply `A` by `A`
@@ -43,7 +43,7 @@ note: an implementation of `Mul<_>` might be missing for `A`
43
43
|
44
44
LL | struct A;
45
45
| ^^^^^^^^ must implement `Mul<_>`
46
- note: the following trait must be implemented
46
+ note: the trait `Mul` must be implemented
47
47
--> $SRC_DIR/core/src/ops/arith.rs:LL:COL
48
48
49
49
error[E0369]: cannot divide `A` by `A`
@@ -59,7 +59,7 @@ note: an implementation of `Div<_>` might be missing for `A`
59
59
|
60
60
LL | struct A;
61
61
| ^^^^^^^^ must implement `Div<_>`
62
- note: the following trait must be implemented
62
+ note: the trait `Div` must be implemented
63
63
--> $SRC_DIR/core/src/ops/arith.rs:LL:COL
64
64
65
65
error[E0369]: cannot mod `A` by `A`
@@ -75,7 +75,7 @@ note: an implementation of `Rem<_>` might be missing for `A`
75
75
|
76
76
LL | struct A;
77
77
| ^^^^^^^^ must implement `Rem<_>`
78
- note: the following trait must be implemented
78
+ note: the trait `Rem` must be implemented
79
79
--> $SRC_DIR/core/src/ops/arith.rs:LL:COL
80
80
81
81
error[E0369]: no implementation for `A & A`
@@ -91,7 +91,7 @@ note: an implementation of `BitAnd<_>` might be missing for `A`
91
91
|
92
92
LL | struct A;
93
93
| ^^^^^^^^ must implement `BitAnd<_>`
94
- note: the following trait must be implemented
94
+ note: the trait `BitAnd` must be implemented
95
95
--> $SRC_DIR/core/src/ops/bit.rs:LL:COL
96
96
97
97
error[E0369]: no implementation for `A | A`
@@ -107,7 +107,7 @@ note: an implementation of `BitOr<_>` might be missing for `A`
107
107
|
108
108
LL | struct A;
109
109
| ^^^^^^^^ must implement `BitOr<_>`
110
- note: the following trait must be implemented
110
+ note: the trait `BitOr` must be implemented
111
111
--> $SRC_DIR/core/src/ops/bit.rs:LL:COL
112
112
113
113
error[E0369]: no implementation for `A << A`
@@ -123,7 +123,7 @@ note: an implementation of `Shl<_>` might be missing for `A`
123
123
|
124
124
LL | struct A;
125
125
| ^^^^^^^^ must implement `Shl<_>`
126
- note: the following trait must be implemented
126
+ note: the trait `Shl` must be implemented
127
127
--> $SRC_DIR/core/src/ops/bit.rs:LL:COL
128
128
129
129
error[E0369]: no implementation for `A >> A`
@@ -139,7 +139,7 @@ note: an implementation of `Shr<_>` might be missing for `A`
139
139
|
140
140
LL | struct A;
141
141
| ^^^^^^^^ must implement `Shr<_>`
142
- note: the following trait must be implemented
142
+ note: the trait `Shr` must be implemented
143
143
--> $SRC_DIR/core/src/ops/bit.rs:LL:COL
144
144
145
145
error[E0369]: binary operation `==` cannot be applied to type `A`
0 commit comments