Merge pull request #279 from chriseth/clarify_erorr

Clarify error message.
This commit is contained in:
Leo
2023-05-16 12:20:04 +02:00
committed by GitHub

View File

@@ -326,7 +326,7 @@ impl<T: FieldElement> ASMPILConverter<T> {
let output = instr.outputs[0].clone();
assert!(
output == assign_reg,
"{output} vs {assign_reg} in {instr_name}",
"The instruction {instr_name} uses the assignment register {output}, but the caller uses {assign_reg} to further process the value.",
);
let mut args = args;