File tree 1 file changed +4
-0
lines changed
1 file changed +4
-0
lines changed Original file line number Diff line number Diff line change @@ -153,6 +153,7 @@ impl ToTokens for ExternType {
153
153
// Notional token range for error reporting purposes.
154
154
self . type_token . to_tokens ( tokens) ;
155
155
self . name . rust . to_tokens ( tokens) ;
156
+ self . generics . to_tokens ( tokens) ;
156
157
}
157
158
}
158
159
@@ -161,6 +162,7 @@ impl ToTokens for TypeAlias {
161
162
// Notional token range for error reporting purposes.
162
163
self . type_token . to_tokens ( tokens) ;
163
164
self . name . rust . to_tokens ( tokens) ;
165
+ self . generics . to_tokens ( tokens) ;
164
166
}
165
167
}
166
168
@@ -169,6 +171,7 @@ impl ToTokens for Struct {
169
171
// Notional token range for error reporting purposes.
170
172
self . struct_token . to_tokens ( tokens) ;
171
173
self . name . rust . to_tokens ( tokens) ;
174
+ self . generics . to_tokens ( tokens) ;
172
175
}
173
176
}
174
177
@@ -177,6 +180,7 @@ impl ToTokens for Enum {
177
180
// Notional token range for error reporting purposes.
178
181
self . enum_token . to_tokens ( tokens) ;
179
182
self . name . rust . to_tokens ( tokens) ;
183
+ self . generics . to_tokens ( tokens) ;
180
184
}
181
185
}
182
186
You can’t perform that action at this time.
0 commit comments