@@ -80,6 +80,7 @@ pub fn enum_iter_inner(ast: &DeriveInput) -> syn::Result<TokenStream> {
8080 marker: :: core:: marker:: PhantomData #phantom_data,
8181 }
8282
83+ #[ automatically_derived]
8384 impl #impl_generics :: core:: fmt:: Debug for #iter_name #ty_generics #where_clause {
8485 fn fmt( & self , f: & mut :: core:: fmt:: Formatter <' _>) -> :: core:: fmt:: Result {
8586 // We don't know if the variants implement debug themselves so the only thing we
@@ -90,6 +91,7 @@ pub fn enum_iter_inner(ast: &DeriveInput) -> syn::Result<TokenStream> {
9091 }
9192 }
9293
94+ #[ automatically_derived]
9395 impl #impl_generics #iter_name #ty_generics #where_clause {
9496 fn get( & self , idx: usize ) -> :: core:: option:: Option <#name #ty_generics> {
9597 match idx {
@@ -98,6 +100,7 @@ pub fn enum_iter_inner(ast: &DeriveInput) -> syn::Result<TokenStream> {
98100 }
99101 }
100102
103+ #[ automatically_derived]
101104 impl #impl_generics #strum_module_path:: IntoEnumIterator for #name #ty_generics #where_clause {
102105 type Iterator = #iter_name #ty_generics;
103106
@@ -111,6 +114,7 @@ pub fn enum_iter_inner(ast: &DeriveInput) -> syn::Result<TokenStream> {
111114 }
112115 }
113116
117+ #[ automatically_derived]
114118 impl #impl_generics Iterator for #iter_name #ty_generics #where_clause {
115119 type Item = #name #ty_generics;
116120
@@ -141,13 +145,15 @@ pub fn enum_iter_inner(ast: &DeriveInput) -> syn::Result<TokenStream> {
141145 }
142146 }
143147
148+ #[ automatically_derived]
144149 impl #impl_generics ExactSizeIterator for #iter_name #ty_generics #where_clause {
145150 #[ inline]
146151 fn len( & self ) -> usize {
147152 self . size_hint( ) . 0
148153 }
149154 }
150155
156+ #[ automatically_derived]
151157 impl #impl_generics DoubleEndedIterator for #iter_name #ty_generics #where_clause {
152158 #[ inline]
153159 fn next_back( & mut self ) -> :: core:: option:: Option <<Self as Iterator >:: Item > {
@@ -166,8 +172,10 @@ pub fn enum_iter_inner(ast: &DeriveInput) -> syn::Result<TokenStream> {
166172 }
167173 }
168174
175+ #[ automatically_derived]
169176 impl #impl_generics :: core:: iter:: FusedIterator for #iter_name #ty_generics #where_clause { }
170177
178+ #[ automatically_derived]
171179 impl #impl_generics Clone for #iter_name #ty_generics #where_clause {
172180 #[ inline]
173181 fn clone( & self ) -> #iter_name #ty_generics {
0 commit comments