@@ -11,7 +11,7 @@ note: an implementation of `Add<_>` might be missing for `A`
1111 |
1212LL | struct A;
1313 | ^^^^^^^^ must implement `Add<_>`
14- note: the following trait must be implemented
14+ note: the trait `Add` must be implemented
1515 --> $SRC_DIR/core/src/ops/arith.rs:LL:COL
1616
1717error[E0369]: cannot subtract `A` from `A`
@@ -27,7 +27,7 @@ note: an implementation of `Sub<_>` might be missing for `A`
2727 |
2828LL | struct A;
2929 | ^^^^^^^^ must implement `Sub<_>`
30- note: the following trait must be implemented
30+ note: the trait `Sub` must be implemented
3131 --> $SRC_DIR/core/src/ops/arith.rs:LL:COL
3232
3333error[E0369]: cannot multiply `A` by `A`
@@ -43,7 +43,7 @@ note: an implementation of `Mul<_>` might be missing for `A`
4343 |
4444LL | struct A;
4545 | ^^^^^^^^ must implement `Mul<_>`
46- note: the following trait must be implemented
46+ note: the trait `Mul` must be implemented
4747 --> $SRC_DIR/core/src/ops/arith.rs:LL:COL
4848
4949error[E0369]: cannot divide `A` by `A`
@@ -59,7 +59,7 @@ note: an implementation of `Div<_>` might be missing for `A`
5959 |
6060LL | struct A;
6161 | ^^^^^^^^ must implement `Div<_>`
62- note: the following trait must be implemented
62+ note: the trait `Div` must be implemented
6363 --> $SRC_DIR/core/src/ops/arith.rs:LL:COL
6464
6565error[E0369]: cannot mod `A` by `A`
@@ -75,7 +75,7 @@ note: an implementation of `Rem<_>` might be missing for `A`
7575 |
7676LL | struct A;
7777 | ^^^^^^^^ must implement `Rem<_>`
78- note: the following trait must be implemented
78+ note: the trait `Rem` must be implemented
7979 --> $SRC_DIR/core/src/ops/arith.rs:LL:COL
8080
8181error[E0369]: no implementation for `A & A`
@@ -91,7 +91,7 @@ note: an implementation of `BitAnd<_>` might be missing for `A`
9191 |
9292LL | struct A;
9393 | ^^^^^^^^ must implement `BitAnd<_>`
94- note: the following trait must be implemented
94+ note: the trait `BitAnd` must be implemented
9595 --> $SRC_DIR/core/src/ops/bit.rs:LL:COL
9696
9797error[E0369]: no implementation for `A | A`
@@ -107,7 +107,7 @@ note: an implementation of `BitOr<_>` might be missing for `A`
107107 |
108108LL | struct A;
109109 | ^^^^^^^^ must implement `BitOr<_>`
110- note: the following trait must be implemented
110+ note: the trait `BitOr` must be implemented
111111 --> $SRC_DIR/core/src/ops/bit.rs:LL:COL
112112
113113error[E0369]: no implementation for `A << A`
@@ -123,7 +123,7 @@ note: an implementation of `Shl<_>` might be missing for `A`
123123 |
124124LL | struct A;
125125 | ^^^^^^^^ must implement `Shl<_>`
126- note: the following trait must be implemented
126+ note: the trait `Shl` must be implemented
127127 --> $SRC_DIR/core/src/ops/bit.rs:LL:COL
128128
129129error[E0369]: no implementation for `A >> A`
@@ -139,7 +139,7 @@ note: an implementation of `Shr<_>` might be missing for `A`
139139 |
140140LL | struct A;
141141 | ^^^^^^^^ must implement `Shr<_>`
142- note: the following trait must be implemented
142+ note: the trait `Shr` must be implemented
143143 --> $SRC_DIR/core/src/ops/bit.rs:LL:COL
144144
145145error[E0369]: binary operation `==` cannot be applied to type `A`
0 commit comments