mirror of
https://github.com/roc-lang/roc.git
synced 2025-09-30 15:21:12 +00:00
update to rust 1.56.1
This commit is contained in:
parent
0fdd8ac1b4
commit
9af09273b3
2 changed files with 2 additions and 1 deletions
|
@ -831,6 +831,7 @@ impl<
|
|||
fields: &'a [Symbol],
|
||||
) -> Result<(), String> {
|
||||
let struct_size = layout.stack_size(PTR_SIZE);
|
||||
|
||||
if let Layout::Struct(field_layouts) = layout {
|
||||
if struct_size > 0 {
|
||||
let offset = self.claim_stack_size(struct_size)?;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue