We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent e932599 commit 1e79f4aCopy full SHA for 1e79f4a
crates/noirc_evaluator/src/brillig/brillig_gen/brillig_block.rs
@@ -776,7 +776,7 @@ impl<'block> BrilligBlock<'block> {
776
fn convert_ssa_value(&mut self, value_id: ValueId, dfg: &DataFlowGraph) -> RegisterOrMemory {
777
let value = &dfg[value_id];
778
779
- let variable = match value {
+ match value {
780
Value::Param { .. } | Value::Instruction { .. } => {
781
// All block parameters and instruction results should have already been
782
// converted to registers so we fetch from the cache.
@@ -843,8 +843,7 @@ impl<'block> BrilligBlock<'block> {
843
_ => {
844
todo!("ICE: Cannot convert value {value:?}")
845
}
846
- };
847
- variable
+ }
848
849
850
/// Converts an SSA `ValueId` into a `RegisterIndex`. Initializes if necessary.
0 commit comments