@@ -36,7 +36,7 @@ LL | enum Enum<T> { TSVariant(T), SVariant { v: T }, UVariant }
36
36
| ^^^^ `Self` corresponds to this type
37
37
...
38
38
LL | impl<T> Enum<T> {
39
- | --------------- `Self` is or type `Enum` in this `impl`
39
+ | --------------- `Self` is on type `Enum` in this `impl`
40
40
help: the `Self` type doesn't accept type parameters, use the concrete type's name `Enum` instead if you want to specify its type parameters
41
41
|
42
42
LL | Enum::<()>::TSVariant(());
@@ -74,7 +74,7 @@ LL | enum Enum<T> { TSVariant(T), SVariant { v: T }, UVariant }
74
74
| ^^^^ `Self` corresponds to this type
75
75
...
76
76
LL | impl<T> Enum<T> {
77
- | --------------- `Self` is or type `Enum` in this `impl`
77
+ | --------------- `Self` is on type `Enum` in this `impl`
78
78
help: the `Self` type doesn't accept type parameters, use the concrete type's name `Enum` instead if you want to specify its type parameters
79
79
|
80
80
LL | Enum::<()>::TSVariant::<()>(());
@@ -136,7 +136,7 @@ LL | enum Enum<T> { TSVariant(T), SVariant { v: T }, UVariant }
136
136
| ^^^^ `Self` corresponds to this type
137
137
...
138
138
LL | impl<T> Enum<T> {
139
- | --------------- `Self` is or type `Enum` in this `impl`
139
+ | --------------- `Self` is on type `Enum` in this `impl`
140
140
help: the `Self` type doesn't accept type parameters, use the concrete type's name `Enum` instead if you want to specify its type parameters
141
141
|
142
142
LL | Enum::<()>::SVariant { v: () };
@@ -167,7 +167,7 @@ LL | enum Enum<T> { TSVariant(T), SVariant { v: T }, UVariant }
167
167
| ^^^^ `Self` corresponds to this type
168
168
...
169
169
LL | impl<T> Enum<T> {
170
- | --------------- `Self` is or type `Enum` in this `impl`
170
+ | --------------- `Self` is on type `Enum` in this `impl`
171
171
help: the `Self` type doesn't accept type parameters, use the concrete type's name `Enum` instead if you want to specify its type parameters
172
172
|
173
173
LL | Enum::<()>::SVariant::<()> { v: () };
@@ -217,7 +217,7 @@ LL | enum Enum<T> { TSVariant(T), SVariant { v: T }, UVariant }
217
217
| ^^^^ `Self` corresponds to this type
218
218
...
219
219
LL | impl<T> Enum<T> {
220
- | --------------- `Self` is or type `Enum` in this `impl`
220
+ | --------------- `Self` is on type `Enum` in this `impl`
221
221
help: the `Self` type doesn't accept type parameters, use the concrete type's name `Enum` instead if you want to specify its type parameters
222
222
|
223
223
LL | Enum::<()>::UVariant;
@@ -236,7 +236,7 @@ LL | enum Enum<T> { TSVariant(T), SVariant { v: T }, UVariant }
236
236
| ^^^^ `Self` corresponds to this type
237
237
...
238
238
LL | impl<T> Enum<T> {
239
- | --------------- `Self` is or type `Enum` in this `impl`
239
+ | --------------- `Self` is on type `Enum` in this `impl`
240
240
help: the `Self` type doesn't accept type parameters, use the concrete type's name `Enum` instead if you want to specify its type parameters
241
241
|
242
242
LL | Enum::<()>::UVariant::<()>;
0 commit comments