tidy
This commit is contained in:
parent
47b16f4ac9
commit
c170dcf04c
3 changed files with 20 additions and 22 deletions
|
@ -844,9 +844,9 @@ fn contains_illegal_self_type_reference<'tcx, T: TypeFoldable<'tcx>>(
|
|||
self.visit_const(leaf)
|
||||
}
|
||||
Node::Cast(_, ty) => self.visit_ty(ty),
|
||||
Node::Binop(..)
|
||||
| Node::UnaryOp(..)
|
||||
| Node::FunctionCall(_, _) => ControlFlow::CONTINUE,
|
||||
Node::Binop(..) | Node::UnaryOp(..) | Node::FunctionCall(_, _) => {
|
||||
ControlFlow::CONTINUE
|
||||
}
|
||||
})
|
||||
} else {
|
||||
ControlFlow::CONTINUE
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue