From e4a48db17681d5d91bd72949ebfbffc27f1fe9c1 Mon Sep 17 00:00:00 2001 From: chriseth Date: Tue, 16 May 2023 11:16:30 +0200 Subject: [PATCH] Clarify error message. --- pilgen/src/lib.rs | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/pilgen/src/lib.rs b/pilgen/src/lib.rs index 0310cac63..981a2320f 100644 --- a/pilgen/src/lib.rs +++ b/pilgen/src/lib.rs @@ -326,7 +326,7 @@ impl ASMPILConverter { 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;