pub fn noop_fold_item<T: Folder>(item: Item, folder: &mut T) -> Item {
    let Item { id, name, attrs, node, vis, span } = item;
    let id = folder.new_id(id);
    let node = folder.fold_item_underscore(node);

    Item {
        id: id,
        name: folder.fold_name(name),
        attrs: fold_attrs(attrs, folder),
        node: node,
        vis: vis,
        span: folder.new_span(span),
    }
}
// fold one item into one item
fold one item into one item
fold one item into one item
pub fn noop_fold_item<T: Folder>(item: Item, folder: &mut T) -> Item {
    let Item { id, name, attrs, node, vis, span } = item;
    let id = folder.new_id(id);
    let node = folder.fold_item_underscore(node);
    Item {
        id: id,
        name: folder.fold_name(name),
        attrs: fold_attrs(attrs, folder),
        node: node,
        vis: vis,
        span: folder.new_span(span),
    }
}
pub fn noop_fold_item < T : Folder > ( item : Item , folder : & mut T ) -> Item { let Item { id , name , attrs , node , vis , span } = item ; let id = folder . new_id ( id ) ; let node = folder . fold_item_underscore ( node ) ; Item { id : id , name : folder . fold_name ( name ) , attrs : fold_attrs ( attrs , folder ) , node : node , vis : vis , span : folder . new_span ( span ) , } }
fold one item into one item
fold one item into one item
item
Item
folder
&mut T
item
Item
folder
&mut T