as casts and block exprs
This commit is contained in:
parent
2987f4ba42
commit
9b2913814b
4 changed files with 57 additions and 35 deletions
|
@ -843,7 +843,7 @@ fn contains_illegal_self_type_reference<'tcx, T: TypeFoldable<'tcx>>(
|
|||
let leaf = leaf.subst(self.tcx, ct.substs);
|
||||
self.visit_const(leaf)
|
||||
}
|
||||
Node::Cast(_, _, ty) => self.visit_ty(ty),
|
||||
Node::Cast(_, ty) => self.visit_ty(ty),
|
||||
Node::Block(_, _)
|
||||
| Node::Binop(..)
|
||||
| Node::UnaryOp(..)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue