Rename ast::StmtKind::Local
into ast::StmtKind::Let
This commit is contained in:
parent
6f3eb1ce3d
commit
ca9f0630a9
17 changed files with 24 additions and 24 deletions
|
@ -1389,7 +1389,7 @@ impl InvocationCollectorNode for ast::Stmt {
|
|||
StmtKind::Item(item) => matches!(item.kind, ItemKind::MacCall(..)),
|
||||
StmtKind::Semi(expr) => matches!(expr.kind, ExprKind::MacCall(..)),
|
||||
StmtKind::Expr(..) => unreachable!(),
|
||||
StmtKind::Local(..) | StmtKind::Empty => false,
|
||||
StmtKind::Let(..) | StmtKind::Empty => false,
|
||||
}
|
||||
}
|
||||
fn take_mac_call(self) -> (P<ast::MacCall>, Self::AttrsTy, AddSemicolon) {
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue