fn classify_item<T: HasAttrs>(&mut self, mut item: T) -> (T, Option<ast::Attribute>) {
        let mut attr = None;

        item = item.map_attrs(|mut attrs| {
            attr = self.cx.resolver.find_attr_invoc(&mut attrs).or_else(|| {
                find_derive_attr(self.cx, &mut attrs)
            });

            attrs
        });

        (item, attr)
    }
// If `item` is an attr invocation, remove and return the macro attribute.
If `item` is an attr invocation, remove and return the macro attribute.
If ` item ` is an attr invocation remove and return the macro attribute .
fn classify_item<T: HasAttrs>(&mut self, mut item: T) -> (T, Option<ast::Attribute>) {
        let mut attr = None;
        item = item.map_attrs(|mut attrs| {
            attr = self.cx.resolver.find_attr_invoc(&mut attrs).or_else(|| {
                find_derive_attr(self.cx, &mut attrs)
            });
            attrs
        });
        (item, attr)
    }
fn classify_item < T : HasAttrs > ( & mut self , mut item : T ) -> ( T , Option < ast :: Attribute > ) { let mut attr = None ; item = item . map_attrs ( | mut attrs | { attr = self . cx . resolver . find_attr_invoc ( & mut attrs ) . or_else ( | | { find_derive_attr ( self . cx , & mut attrs ) } ) ; attrs } ) ; ( item , attr ) }
If `item` is an attr invocation, remove and return the macro attribute.
If ` item ` is an attr invocation remove and return the macro attribute .
&mut self
item
T
&mut self
item
T