dont support blocks
This commit is contained in:
parent
9b2913814b
commit
4483c2bdf6
5 changed files with 16 additions and 54 deletions
|
@ -159,8 +159,7 @@ where
|
|||
self.visit_const(leaf)
|
||||
}
|
||||
ACNode::Cast(_, ty) => self.visit_ty(ty),
|
||||
ACNode::Block(_, _)
|
||||
| ACNode::Binop(..)
|
||||
ACNode::Binop(..)
|
||||
| ACNode::UnaryOp(..)
|
||||
| ACNode::FunctionCall(_, _) => ControlFlow::CONTINUE,
|
||||
})
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue