Home
last modified time | relevance | path

Searched refs:replace_attrs (Results 1 – 3 of 3) sorted by relevance

/external/rust/crates/syn/src/
Dstmt.rs195 attrs.extend(item.replace_attrs(Vec::new())); in parse_stmt()
196 item.replace_attrs(attrs); in parse_stmt()
264 attrs.extend(attr_target.replace_attrs(Vec::new())); in stmt_expr()
265 attr_target.replace_attrs(attrs); in stmt_expr()
Dexpr.rs788 pub(crate) fn replace_attrs(&mut self, new: Vec<Attribute>) -> Vec<Attribute> { in replace_attrs() method
1533 let inner_attrs = e.replace_attrs(Vec::new()); in trailer_expr()
1535 e.replace_attrs(attrs); in trailer_expr()
2005 attrs.extend(expr.replace_attrs(Vec::new())); in expr_early()
2006 expr.replace_attrs(attrs); in expr_early()
2014 attrs.extend(expr.replace_attrs(Vec::new())); in expr_early()
2015 expr.replace_attrs(attrs); in expr_early()
2021 attrs.extend(expr.replace_attrs(Vec::new())); in expr_early()
2022 expr.replace_attrs(attrs); in expr_early()
Ditem.rs364 pub(crate) fn replace_attrs(&mut self, new: Vec<Attribute>) -> Vec<Attribute> { in replace_attrs() method
1165 attrs.extend(item.replace_attrs(Vec::new())); in parse()
1166 item.replace_attrs(attrs); in parse()