@@ -7,13 +7,13 @@ LL | Self::TSVariant(());
7
7
= note: expected type `T`
8
8
found type `()`
9
9
10
- error[E0109]: type arguments are not allowed on this entity
10
+ error[E0109]: type arguments are not allowed for this type
11
11
--> $DIR/enum-variant-generic-args.rs:11:27
12
12
|
13
13
LL | Self::TSVariant::<()>(());
14
14
| ^^ type argument not allowed
15
15
16
- error[E0109]: type arguments are not allowed on this entity
16
+ error[E0109]: type arguments are not allowed for this type
17
17
--> $DIR/enum-variant-generic-args.rs:13:16
18
18
|
19
19
LL | Self::<()>::TSVariant(());
@@ -28,13 +28,13 @@ LL | Self::<()>::TSVariant(());
28
28
= note: expected type `T`
29
29
found type `()`
30
30
31
- error[E0109]: type arguments are not allowed on this entity
31
+ error[E0109]: type arguments are not allowed for this type
32
32
--> $DIR/enum-variant-generic-args.rs:16:16
33
33
|
34
34
LL | Self::<()>::TSVariant::<()>(());
35
35
| ^^ type argument not allowed
36
36
37
- error[E0109]: type arguments are not allowed on this entity
37
+ error[E0109]: type arguments are not allowed for this type
38
38
--> $DIR/enum-variant-generic-args.rs:16:33
39
39
|
40
40
LL | Self::<()>::TSVariant::<()>(());
@@ -49,7 +49,7 @@ LL | Self::SVariant { v: () };
49
49
= note: expected type `T`
50
50
found type `()`
51
51
52
- error[E0109]: type arguments are not allowed on this entity
52
+ error[E0109]: type arguments are not allowed for this type
53
53
--> $DIR/enum-variant-generic-args.rs:24:26
54
54
|
55
55
LL | Self::SVariant::<()> { v: () };
@@ -64,7 +64,7 @@ LL | Self::SVariant::<()> { v: () };
64
64
= note: expected type `T`
65
65
found type `()`
66
66
67
- error[E0109]: type arguments are not allowed on this entity
67
+ error[E0109]: type arguments are not allowed for this type
68
68
--> $DIR/enum-variant-generic-args.rs:27:16
69
69
|
70
70
LL | Self::<()>::SVariant { v: () };
@@ -79,13 +79,13 @@ LL | Self::<()>::SVariant { v: () };
79
79
= note: expected type `T`
80
80
found type `()`
81
81
82
- error[E0109]: type arguments are not allowed on this entity
82
+ error[E0109]: type arguments are not allowed for this type
83
83
--> $DIR/enum-variant-generic-args.rs:30:16
84
84
|
85
85
LL | Self::<()>::SVariant::<()> { v: () };
86
86
| ^^ type argument not allowed
87
87
88
- error[E0109]: type arguments are not allowed on this entity
88
+ error[E0109]: type arguments are not allowed for this type
89
89
--> $DIR/enum-variant-generic-args.rs:30:32
90
90
|
91
91
LL | Self::<()>::SVariant::<()> { v: () };
@@ -100,25 +100,25 @@ LL | Self::<()>::SVariant::<()> { v: () };
100
100
= note: expected type `T`
101
101
found type `()`
102
102
103
- error[E0109]: type arguments are not allowed on this entity
103
+ error[E0109]: type arguments are not allowed for this type
104
104
--> $DIR/enum-variant-generic-args.rs:40:29
105
105
|
106
106
LL | Enum::<()>::TSVariant::<()>(());
107
107
| ^^ type argument not allowed
108
108
109
- error[E0109]: type arguments are not allowed on this entity
109
+ error[E0109]: type arguments are not allowed for this type
110
110
--> $DIR/enum-variant-generic-args.rs:43:24
111
111
|
112
112
LL | Alias::TSVariant::<()>(());
113
113
| ^^ type argument not allowed
114
114
115
- error[E0109]: type arguments are not allowed on this entity
115
+ error[E0109]: type arguments are not allowed for this type
116
116
--> $DIR/enum-variant-generic-args.rs:45:30
117
117
|
118
118
LL | Alias::<()>::TSVariant::<()>(());
119
119
| ^^ type argument not allowed
120
120
121
- error[E0109]: type arguments are not allowed on this entity
121
+ error[E0109]: type arguments are not allowed for this type
122
122
--> $DIR/enum-variant-generic-args.rs:48:29
123
123
|
124
124
LL | AliasFixed::TSVariant::<()>(());
@@ -136,31 +136,31 @@ 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 arguments are not allowed on this entity
139
+ error[E0109]: type arguments are not allowed for this type
140
140
--> $DIR/enum-variant-generic-args.rs:52:35
141
141
|
142
142
LL | AliasFixed::<()>::TSVariant::<()>(());
143
143
| ^^ type argument not allowed
144
144
145
- error[E0109]: type arguments are not allowed on this entity
145
+ error[E0109]: type arguments are not allowed for this type
146
146
--> $DIR/enum-variant-generic-args.rs:58:28
147
147
|
148
148
LL | Enum::<()>::SVariant::<()> { v: () };
149
149
| ^^ type argument not allowed
150
150
151
- error[E0109]: type arguments are not allowed on this entity
151
+ error[E0109]: type arguments are not allowed for this type
152
152
--> $DIR/enum-variant-generic-args.rs:61:23
153
153
|
154
154
LL | Alias::SVariant::<()> { v: () };
155
155
| ^^ type argument not allowed
156
156
157
- error[E0109]: type arguments are not allowed on this entity
157
+ error[E0109]: type arguments are not allowed for this type
158
158
--> $DIR/enum-variant-generic-args.rs:63:29
159
159
|
160
160
LL | Alias::<()>::SVariant::<()> { v: () };
161
161
| ^^ type argument not allowed
162
162
163
- error[E0109]: type arguments are not allowed on this entity
163
+ error[E0109]: type arguments are not allowed for this type
164
164
--> $DIR/enum-variant-generic-args.rs:66:28
165
165
|
166
166
LL | AliasFixed::SVariant::<()> { v: () };
@@ -178,7 +178,7 @@ error[E0107]: wrong number of type arguments: expected 0, found 1
178
178
LL | AliasFixed::<()>::SVariant::<()> { v: () };
179
179
| ^^ unexpected type argument
180
180
181
- error[E0109]: type arguments are not allowed on this entity
181
+ error[E0109]: type arguments are not allowed for this type
182
182
--> $DIR/enum-variant-generic-args.rs:70:34
183
183
|
184
184
LL | AliasFixed::<()>::SVariant::<()> { v: () };
0 commit comments