Update recursive layout tests

This commit is contained in:
Ayaz Hafiz 2023-01-25 17:19:14 -06:00
parent 0cd448eab4
commit 44acb7e047
No known key found for this signature in database
GPG key ID: 0E2A37416A25EF58

View file

@ -1248,7 +1248,7 @@ mod insert_recursive_layout {
}
fn get_rec_ptr_index<'a>(interner: &impl LayoutInterner<'a>, layout: InLayout<'a>) -> usize {
match interner.get(layout) {
match interner.chase_recursive(layout) {
Layout::Union(UnionLayout::Recursive(&[&[l1], &[l2]])) => {
match (interner.get(l1), interner.get(l2)) {
(
@ -1372,7 +1372,7 @@ mod insert_recursive_layout {
make_layout(arena, &mut interner)
};
let in1 = {
let in1: InLayout = {
let mut interner = global.fork();
interner.insert_recursive(arena, layout)
};