Merge branch 'trunk' into dict

This commit is contained in:
Chadtech 2021-01-31 15:46:22 -05:00 committed by GitHub
commit 69fcbf70ea
No known key found for this signature in database
GPG key ID: 4AEE18F83AFDEB23
77 changed files with 4818 additions and 862 deletions

View file

@ -647,8 +647,9 @@ impl<'a> Layout<'a> {
| NonNullableUnwrapped(_) => true,
}
}
RecursivePointer => true,
Closure(_, closure_layout, _) => closure_layout.contains_refcounted(),
FunctionPointer(_, _) | RecursivePointer | Pointer(_) => false,
FunctionPointer(_, _) | Pointer(_) => false,
}
}
}