@@ -7,35 +7,35 @@ LL | Enum::<()>::SVariant::<()>(());
77 | | did you mean `TSVariant`?
88 | did you mean `Enum::SVariant { /* fields */ }`?
99
10- error[E0109]: type parameters are not allowed on this type
10+ error[E0109]: type arguments are not allowed on this entity
1111 --> $DIR/enum-variant-generic-args.rs:9:27
1212 |
1313LL | Self::TSVariant::<()>(());
14- | ^^ type parameter not allowed
14+ | ^^ type argument not allowed
1515
16- error[E0109]: type parameters are not allowed on this type
16+ error[E0109]: type arguments are not allowed on this entity
1717 --> $DIR/enum-variant-generic-args.rs:11:16
1818 |
1919LL | Self::<()>::TSVariant(());
20- | ^^ type parameter not allowed
20+ | ^^ type argument not allowed
2121
22- error[E0109]: type parameters are not allowed on this type
22+ error[E0109]: type arguments are not allowed on this entity
2323 --> $DIR/enum-variant-generic-args.rs:13:16
2424 |
2525LL | Self::<()>::TSVariant::<()>(());
26- | ^^ type parameter not allowed
26+ | ^^ type argument not allowed
2727
28- error[E0109]: type parameters are not allowed on this type
28+ error[E0109]: type arguments are not allowed on this entity
2929 --> $DIR/enum-variant-generic-args.rs:13:33
3030 |
3131LL | Self::<()>::TSVariant::<()>(());
32- | ^^ type parameter not allowed
32+ | ^^ type argument not allowed
3333
34- error[E0109]: type parameters are not allowed on this type
34+ error[E0109]: type arguments are not allowed on this entity
3535 --> $DIR/enum-variant-generic-args.rs:19:26
3636 |
3737LL | Self::SVariant::<()>(());
38- | ^^ type parameter not allowed
38+ | ^^ type argument not allowed
3939
4040error[E0618]: expected function, found enum variant `<Self>::SVariant::<()>`
4141 --> $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
5252LL | <Self>::SVariant::<()>;
5353 | ^^^^^^^^^^^^^^^^^^^^^^
5454
55- error[E0109]: type parameters are not allowed on this type
55+ error[E0109]: type arguments are not allowed on this entity
5656 --> $DIR/enum-variant-generic-args.rs:21:16
5757 |
5858LL | Self::<()>::SVariant(());
59- | ^^ type parameter not allowed
59+ | ^^ type argument not allowed
6060
6161error[E0618]: expected function, found enum variant `<Self<()>>::SVariant`
6262 --> $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
7373LL | <Self<()>>::SVariant;
7474 | ^^^^^^^^^^^^^^^^^^^^
7575
76- error[E0109]: type parameters are not allowed on this type
76+ error[E0109]: type arguments are not allowed on this entity
7777 --> $DIR/enum-variant-generic-args.rs:23:16
7878 |
7979LL | Self::<()>::SVariant::<()>(());
80- | ^^ type parameter not allowed
80+ | ^^ type argument not allowed
8181
82- error[E0109]: type parameters are not allowed on this type
82+ error[E0109]: type arguments are not allowed on this entity
8383 --> $DIR/enum-variant-generic-args.rs:23:32
8484 |
8585LL | Self::<()>::SVariant::<()>(());
86- | ^^ type parameter not allowed
86+ | ^^ type argument not allowed
8787
8888error[E0618]: expected function, found enum variant `<Self<()>>::SVariant::<()>`
8989 --> $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
100100LL | <Self<()>>::SVariant::<()>;
101101 | ^^^^^^^^^^^^^^^^^^^^^^^^^^
102102
103- error[E0109]: type parameters are not allowed on this type
103+ error[E0109]: type arguments are not allowed on this entity
104104 --> $DIR/enum-variant-generic-args.rs:32:29
105105 |
106106LL | Enum::<()>::TSVariant::<()>(());
107- | ^^ type parameter not allowed
107+ | ^^ type argument not allowed
108108
109- error[E0109]: type parameters are not allowed on this type
109+ error[E0109]: type arguments are not allowed on this entity
110110 --> $DIR/enum-variant-generic-args.rs:35:24
111111 |
112112LL | Alias::TSVariant::<()>(());
113- | ^^ type parameter not allowed
113+ | ^^ type argument not allowed
114114
115- error[E0109]: type parameters are not allowed on this type
115+ error[E0109]: type arguments are not allowed on this entity
116116 --> $DIR/enum-variant-generic-args.rs:37:30
117117 |
118118LL | Alias::<()>::TSVariant::<()>(());
119- | ^^ type parameter not allowed
119+ | ^^ type argument not allowed
120120
121- error[E0109]: type parameters are not allowed on this type
121+ error[E0109]: type arguments are not allowed on this entity
122122 --> $DIR/enum-variant-generic-args.rs:40:29
123123 |
124124LL | AliasFixed::TSVariant::<()>(());
125- | ^^ type parameter not allowed
125+ | ^^ type argument not allowed
126126
127127error[E0107]: wrong number of type arguments: expected 0, found 1
128128 --> $DIR/enum-variant-generic-args.rs:42:18
@@ -136,17 +136,17 @@ error[E0107]: wrong number of type arguments: expected 0, found 1
136136LL | AliasFixed::<()>::TSVariant::<()>(());
137137 | ^^ unexpected type argument
138138
139- error[E0109]: type parameters are not allowed on this type
139+ error[E0109]: type arguments are not allowed on this entity
140140 --> $DIR/enum-variant-generic-args.rs:44:35
141141 |
142142LL | AliasFixed::<()>::TSVariant::<()>(());
143- | ^^ type parameter not allowed
143+ | ^^ type argument not allowed
144144
145- error[E0109]: type parameters are not allowed on this type
145+ error[E0109]: type arguments are not allowed on this entity
146146 --> $DIR/enum-variant-generic-args.rs:53:23
147147 |
148148LL | Alias::SVariant::<()>(());
149- | ^^ type parameter not allowed
149+ | ^^ type argument not allowed
150150
151151error[E0618]: expected function, found enum variant `<Alias>::SVariant::<()>`
152152 --> $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
163163LL | <Alias>::SVariant::<()>;
164164 | ^^^^^^^^^^^^^^^^^^^^^^^
165165
166- error[E0109]: type parameters are not allowed on this type
166+ error[E0109]: type arguments are not allowed on this entity
167167 --> $DIR/enum-variant-generic-args.rs:55:29
168168 |
169169LL | Alias::<()>::SVariant::<()>(());
170- | ^^ type parameter not allowed
170+ | ^^ type argument not allowed
171171
172172error[E0618]: expected function, found enum variant `<Alias<()>>::SVariant::<()>`
173173 --> $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
184184LL | <Alias<()>>::SVariant::<()>;
185185 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
186186
187- error[E0109]: type parameters are not allowed on this type
187+ error[E0109]: type arguments are not allowed on this entity
188188 --> $DIR/enum-variant-generic-args.rs:58:28
189189 |
190190LL | AliasFixed::SVariant::<()>(());
191- | ^^ type parameter not allowed
191+ | ^^ type argument not allowed
192192
193193error[E0618]: expected function, found enum variant `<AliasFixed>::SVariant::<()>`
194194 --> $DIR/enum-variant-generic-args.rs:58:5
@@ -232,11 +232,11 @@ error[E0107]: wrong number of type arguments: expected 0, found 1
232232LL | AliasFixed::<()>::SVariant::<()>(());
233233 | ^^ unexpected type argument
234234
235- error[E0109]: type parameters are not allowed on this type
235+ error[E0109]: type arguments are not allowed on this entity
236236 --> $DIR/enum-variant-generic-args.rs:62:34
237237 |
238238LL | AliasFixed::<()>::SVariant::<()>(());
239- | ^^ type parameter not allowed
239+ | ^^ type argument not allowed
240240
241241error[E0618]: expected function, found enum variant `<AliasFixed<()>>::SVariant::<()>`
242242 --> $DIR/enum-variant-generic-args.rs:62:5
0 commit comments