Fix bugs due to unhandled ControlFlow
This commit is contained in:
parent
794c12416b
commit
04c453c4bc
2 changed files with 2 additions and 2 deletions
|
@ -161,7 +161,7 @@ impl Visitable for RigidTy {
|
|||
RigidTy::Slice(inner) => inner.visit(visitor),
|
||||
RigidTy::RawPtr(ty, _) => ty.visit(visitor),
|
||||
RigidTy::Ref(reg, ty, _) => {
|
||||
reg.visit(visitor);
|
||||
reg.visit(visitor)?;
|
||||
ty.visit(visitor)
|
||||
}
|
||||
RigidTy::Adt(_, args)
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue