Use super_fold in RegionsToStatic visitor
This commit is contained in:
parent
25e3949aa1
commit
116f95bb46
6 changed files with 28 additions and 1 deletions
|
@ -455,7 +455,7 @@ impl<I: Interner> TypeFolder<I> for RegionsToStatic<I> {
|
|||
I::Binder<T>: TypeSuperFoldable<I>,
|
||||
{
|
||||
self.binder.shift_in(1);
|
||||
let t = t.fold_with(self);
|
||||
let t = t.super_fold_with(self);
|
||||
self.binder.shift_out(1);
|
||||
t
|
||||
}
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue