fn remove_attr_invoc(item: ast::Item, attr_index: usize) -> ast::Item {
    let item = item.clone_for_update();
    let attr = item
        .attrs()
        .nth(attr_index)
        .unwrap_or_else(|| panic!("cannot find attribute #{}", attr_index));
    replace_attr(&item, &attr);
    item
}
/// Removes the attribute invoking an attribute macro from `item`.
Removes the attribute invoking an attribute macro from `item`.
Removes the attribute invoking an attribute macro from ` item ` .
fn remove_attr_invoc(item: ast::Item, attr_index: usize) -> ast::Item {
    let item = item.clone_for_update();
    let attr = item
        .attrs()
        .nth(attr_index)
        .unwrap_or_else(|| panic!("cannot find attribute #{}", attr_index));
    replace_attr(&item, &attr);
    item
}
fn remove_attr_invoc ( item : ast :: Item , attr_index : usize ) -> ast :: Item { let item = item . clone_for_update ( ) ; let attr = item . attrs ( ) . nth ( attr_index ) . unwrap_or_else ( | | panic ! ( " " attr_index ) ) ; replace_attr ( & item , & attr ) ; item }
Removes the attribute invoking an attribute macro from `item`.
Removes the attribute invoking an attribute macro from ` item ` .
item
ast::Item
attr_index
usize