summaryrefslogtreecommitdiff
path: root/rust/src
diff options
context:
space:
mode:
Diffstat (limited to 'rust/src')
-rw-r--r--rust/src/high_level_il/instruction.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/rust/src/high_level_il/instruction.rs b/rust/src/high_level_il/instruction.rs
index e571354c..80be2a16 100644
--- a/rust/src/high_level_il/instruction.rs
+++ b/rust/src/high_level_il/instruction.rs
@@ -1068,7 +1068,7 @@ unsafe impl CoreArrayProviderInner for HighLevelILInstruction {
unsafe fn wrap_raw<'a>(raw: &'a Self::Raw, context: &'a Self::Context) -> Self::Wrapped<'a> {
context
- .instruction_from_index(HighLevelInstructionIndex(*raw))
+ .instruction_from_expr_index(HighLevelExpressionIndex(*raw))
.unwrap()
}
}