@@ -7,35 +7,35 @@ LL | Enum::<()>::SVariant::<()>(());
7
7
| | did you mean `TSVariant`?
8
8
| did you mean `Enum::SVariant { /* fields */ }`?
9
9
10
- error[E0109]: type parameters are not allowed on this type
10
+ error[E0109]: type arguments are not allowed on this entity
11
11
--> $DIR/enum-variant-generic-args.rs:9:27
12
12
|
13
13
LL | Self::TSVariant::<()>(());
14
- | ^^ type parameter not allowed
14
+ | ^^ type argument not allowed
15
15
16
- error[E0109]: type parameters are not allowed on this type
16
+ error[E0109]: type arguments are not allowed on this entity
17
17
--> $DIR/enum-variant-generic-args.rs:11:16
18
18
|
19
19
LL | Self::<()>::TSVariant(());
20
- | ^^ type parameter not allowed
20
+ | ^^ type argument not allowed
21
21
22
- error[E0109]: type parameters are not allowed on this type
22
+ error[E0109]: type arguments are not allowed on this entity
23
23
--> $DIR/enum-variant-generic-args.rs:13:16
24
24
|
25
25
LL | Self::<()>::TSVariant::<()>(());
26
- | ^^ type parameter not allowed
26
+ | ^^ type argument not allowed
27
27
28
- error[E0109]: type parameters are not allowed on this type
28
+ error[E0109]: type arguments are not allowed on this entity
29
29
--> $DIR/enum-variant-generic-args.rs:13:33
30
30
|
31
31
LL | Self::<()>::TSVariant::<()>(());
32
- | ^^ type parameter not allowed
32
+ | ^^ type argument not allowed
33
33
34
- error[E0109]: type parameters are not allowed on this type
34
+ error[E0109]: type arguments are not allowed on this entity
35
35
--> $DIR/enum-variant-generic-args.rs:19:26
36
36
|
37
37
LL | Self::SVariant::<()>(());
38
- | ^^ type parameter not allowed
38
+ | ^^ type argument not allowed
39
39
40
40
error[E0618]: expected function, found enum variant `<Self>::SVariant::<()>`
41
41
--> $DIR/enum-variant-generic-args.rs:19:9
@@ -52,11 +52,11 @@ help: `<Self>::SVariant::<()>` is a unit variant, you need to write it without t
52
52
LL | <Self>::SVariant::<()>;
53
53
| ^^^^^^^^^^^^^^^^^^^^^^
54
54
55
- error[E0109]: type parameters are not allowed on this type
55
+ error[E0109]: type arguments are not allowed on this entity
56
56
--> $DIR/enum-variant-generic-args.rs:21:16
57
57
|
58
58
LL | Self::<()>::SVariant(());
59
- | ^^ type parameter not allowed
59
+ | ^^ type argument not allowed
60
60
61
61
error[E0618]: expected function, found enum variant `<Self<()>>::SVariant`
62
62
--> $DIR/enum-variant-generic-args.rs:21:9
@@ -73,17 +73,17 @@ help: `<Self<()>>::SVariant` is a unit variant, you need to write it without the
73
73
LL | <Self<()>>::SVariant;
74
74
| ^^^^^^^^^^^^^^^^^^^^
75
75
76
- error[E0109]: type parameters are not allowed on this type
76
+ error[E0109]: type arguments are not allowed on this entity
77
77
--> $DIR/enum-variant-generic-args.rs:23:16
78
78
|
79
79
LL | Self::<()>::SVariant::<()>(());
80
- | ^^ type parameter not allowed
80
+ | ^^ type argument not allowed
81
81
82
- error[E0109]: type parameters are not allowed on this type
82
+ error[E0109]: type arguments are not allowed on this entity
83
83
--> $DIR/enum-variant-generic-args.rs:23:32
84
84
|
85
85
LL | Self::<()>::SVariant::<()>(());
86
- | ^^ type parameter not allowed
86
+ | ^^ type argument not allowed
87
87
88
88
error[E0618]: expected function, found enum variant `<Self<()>>::SVariant::<()>`
89
89
--> $DIR/enum-variant-generic-args.rs:23:9
@@ -100,29 +100,29 @@ help: `<Self<()>>::SVariant::<()>` is a unit variant, you need to write it witho
100
100
LL | <Self<()>>::SVariant::<()>;
101
101
| ^^^^^^^^^^^^^^^^^^^^^^^^^^
102
102
103
- error[E0109]: type parameters are not allowed on this type
103
+ error[E0109]: type arguments are not allowed on this entity
104
104
--> $DIR/enum-variant-generic-args.rs:32:29
105
105
|
106
106
LL | Enum::<()>::TSVariant::<()>(());
107
- | ^^ type parameter not allowed
107
+ | ^^ type argument not allowed
108
108
109
- error[E0109]: type parameters are not allowed on this type
109
+ error[E0109]: type arguments are not allowed on this entity
110
110
--> $DIR/enum-variant-generic-args.rs:35:24
111
111
|
112
112
LL | Alias::TSVariant::<()>(());
113
- | ^^ type parameter not allowed
113
+ | ^^ type argument not allowed
114
114
115
- error[E0109]: type parameters are not allowed on this type
115
+ error[E0109]: type arguments are not allowed on this entity
116
116
--> $DIR/enum-variant-generic-args.rs:37:30
117
117
|
118
118
LL | Alias::<()>::TSVariant::<()>(());
119
- | ^^ type parameter not allowed
119
+ | ^^ type argument not allowed
120
120
121
- error[E0109]: type parameters are not allowed on this type
121
+ error[E0109]: type arguments are not allowed on this entity
122
122
--> $DIR/enum-variant-generic-args.rs:40:29
123
123
|
124
124
LL | AliasFixed::TSVariant::<()>(());
125
- | ^^ type parameter not allowed
125
+ | ^^ type argument not allowed
126
126
127
127
error[E0107]: wrong number of type arguments: expected 0, found 1
128
128
--> $DIR/enum-variant-generic-args.rs:42:18
@@ -136,17 +136,17 @@ error[E0107]: wrong number of type arguments: expected 0, found 1
136
136
LL | AliasFixed::<()>::TSVariant::<()>(());
137
137
| ^^ unexpected type argument
138
138
139
- error[E0109]: type parameters are not allowed on this type
139
+ error[E0109]: type arguments are not allowed on this entity
140
140
--> $DIR/enum-variant-generic-args.rs:44:35
141
141
|
142
142
LL | AliasFixed::<()>::TSVariant::<()>(());
143
- | ^^ type parameter not allowed
143
+ | ^^ type argument not allowed
144
144
145
- error[E0109]: type parameters are not allowed on this type
145
+ error[E0109]: type arguments are not allowed on this entity
146
146
--> $DIR/enum-variant-generic-args.rs:53:23
147
147
|
148
148
LL | Alias::SVariant::<()>(());
149
- | ^^ type parameter not allowed
149
+ | ^^ type argument not allowed
150
150
151
151
error[E0618]: expected function, found enum variant `<Alias>::SVariant::<()>`
152
152
--> $DIR/enum-variant-generic-args.rs:53:5
@@ -163,11 +163,11 @@ help: `<Alias>::SVariant::<()>` is a unit variant, you need to write it without
163
163
LL | <Alias>::SVariant::<()>;
164
164
| ^^^^^^^^^^^^^^^^^^^^^^^
165
165
166
- error[E0109]: type parameters are not allowed on this type
166
+ error[E0109]: type arguments are not allowed on this entity
167
167
--> $DIR/enum-variant-generic-args.rs:55:29
168
168
|
169
169
LL | Alias::<()>::SVariant::<()>(());
170
- | ^^ type parameter not allowed
170
+ | ^^ type argument not allowed
171
171
172
172
error[E0618]: expected function, found enum variant `<Alias<()>>::SVariant::<()>`
173
173
--> $DIR/enum-variant-generic-args.rs:55:5
@@ -184,11 +184,11 @@ help: `<Alias<()>>::SVariant::<()>` is a unit variant, you need to write it with
184
184
LL | <Alias<()>>::SVariant::<()>;
185
185
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
186
186
187
- error[E0109]: type parameters are not allowed on this type
187
+ error[E0109]: type arguments are not allowed on this entity
188
188
--> $DIR/enum-variant-generic-args.rs:58:28
189
189
|
190
190
LL | AliasFixed::SVariant::<()>(());
191
- | ^^ type parameter not allowed
191
+ | ^^ type argument not allowed
192
192
193
193
error[E0618]: expected function, found enum variant `<AliasFixed>::SVariant::<()>`
194
194
--> $DIR/enum-variant-generic-args.rs:58:5
@@ -232,11 +232,11 @@ error[E0107]: wrong number of type arguments: expected 0, found 1
232
232
LL | AliasFixed::<()>::SVariant::<()>(());
233
233
| ^^ unexpected type argument
234
234
235
- error[E0109]: type parameters are not allowed on this type
235
+ error[E0109]: type arguments are not allowed on this entity
236
236
--> $DIR/enum-variant-generic-args.rs:62:34
237
237
|
238
238
LL | AliasFixed::<()>::SVariant::<()>(());
239
- | ^^ type parameter not allowed
239
+ | ^^ type argument not allowed
240
240
241
241
error[E0618]: expected function, found enum variant `<AliasFixed<()>>::SVariant::<()>`
242
242
--> $DIR/enum-variant-generic-args.rs:62:5
0 commit comments