Rename ast::StmtKind::Local into ast::StmtKind::Let
This commit is contained in:
@@ -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) {
|
||||
|
||||
Reference in New Issue
Block a user