File tree Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Expand file tree Collapse file tree 1 file changed +5
-5
lines changed Original file line number Diff line number Diff line change @@ -146,7 +146,7 @@ impl<'a> MessageGen<'a> {
146
146
. collect ( )
147
147
}
148
148
149
- fn required_fields ( & ' a self ) -> Vec < & ' a FieldGen > {
149
+ fn required_fields ( & ' a self ) -> Vec < & ' a FieldGen < ' a > > {
150
150
self . fields
151
151
. iter ( )
152
152
. filter ( |f| match f. kind {
@@ -156,14 +156,14 @@ impl<'a> MessageGen<'a> {
156
156
. collect ( )
157
157
}
158
158
159
- fn message_fields ( & ' a self ) -> Vec < & ' a FieldGen > {
159
+ fn message_fields ( & ' a self ) -> Vec < & ' a FieldGen < ' a > > {
160
160
self . fields
161
161
. iter ( )
162
162
. filter ( |f| f. proto_type == field_descriptor_proto:: Type :: TYPE_MESSAGE )
163
163
. collect ( )
164
164
}
165
165
166
- fn fields_except_oneof ( & ' a self ) -> Vec < & ' a FieldGen > {
166
+ fn fields_except_oneof ( & ' a self ) -> Vec < & ' a FieldGen < ' a > > {
167
167
self . fields
168
168
. iter ( )
169
169
. filter ( |f| match f. kind {
@@ -173,14 +173,14 @@ impl<'a> MessageGen<'a> {
173
173
. collect ( )
174
174
}
175
175
176
- fn fields_except_group ( & ' a self ) -> Vec < & ' a FieldGen > {
176
+ fn fields_except_group ( & ' a self ) -> Vec < & ' a FieldGen < ' a > > {
177
177
self . fields
178
178
. iter ( )
179
179
. filter ( |f| f. proto_type != field_descriptor_proto:: Type :: TYPE_GROUP )
180
180
. collect ( )
181
181
}
182
182
183
- fn fields_except_oneof_and_group ( & ' a self ) -> Vec < & ' a FieldGen > {
183
+ fn fields_except_oneof_and_group ( & ' a self ) -> Vec < & ' a FieldGen < ' a > > {
184
184
self . fields
185
185
. iter ( )
186
186
. filter ( |f| match f. kind {
You can’t perform that action at this time.
0 commit comments