1
Fork 0

as casts and block exprs

This commit is contained in:
Ellen 2021-09-06 16:14:01 +01:00
parent 2987f4ba42
commit 9b2913814b
4 changed files with 57 additions and 35 deletions

View file

@ -158,7 +158,7 @@ where
let leaf = leaf.subst(tcx, ct.substs);
self.visit_const(leaf)
}
ACNode::Cast(_, _, ty) => self.visit_ty(ty),
ACNode::Cast(_, ty) => self.visit_ty(ty),
ACNode::Block(_, _)
| ACNode::Binop(..)
| ACNode::UnaryOp(..)