Skip to content

Commit 1009e39

Browse files
committed
Handle empty arg tuple
1 parent f72d7e3 commit 1009e39

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

compiler/rustc_codegen_llvm/src/intrinsic.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -1256,7 +1256,7 @@ fn get_args_from_tuple<'ll, 'tcx>(
12561256
result
12571257
}
12581258

1259-
OperandValue::ZeroSized => bug!("unexpected ZeroSized argument in get_args_from_tuple"),
1259+
OperandValue::ZeroSized => vec![],
12601260
}
12611261
}
12621262

0 commit comments

Comments
 (0)