Remove hir::Expr::attrs.
This commit is contained in:
parent
c701872a6c
commit
fb753cced8
7 changed files with 23 additions and 32 deletions
|
@ -1334,7 +1334,7 @@ impl<'a> State<'a> {
|
|||
|
||||
pub fn print_expr(&mut self, expr: &hir::Expr<'_>) {
|
||||
self.maybe_print_comment(expr.span.lo());
|
||||
self.print_outer_attributes(&expr.attrs);
|
||||
self.print_outer_attributes(self.attrs(expr.hir_id));
|
||||
self.ibox(INDENT_UNIT);
|
||||
self.ann.pre(self, AnnNode::Expr(expr));
|
||||
match expr.kind {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue