box fixes

This commit is contained in:
Folkert 2021-07-13 00:42:21 +02:00
parent 3bf46ff662
commit 83bea1582f
2 changed files with 27 additions and 2 deletions

View file

@ -728,7 +728,7 @@ impl<'a> Layout<'a> {
}
}
RecursivePointer => true,
Boxed(inner) => inner.contains_refcounted(),
Boxed(inner) => true,
Closure(_, closure_layout, _) => closure_layout.contains_refcounted(),
}
}