diff --git a/core/vdbe/mod.rs b/core/vdbe/mod.rs index 847f53004..3aec5900c 100644 --- a/core/vdbe/mod.rs +++ b/core/vdbe/mod.rs @@ -134,8 +134,8 @@ impl BranchOffset { /// Returns the offset value. Panics if the branch offset is a label or placeholder. pub fn as_offset_int(&self) -> InsnReference { match self { - BranchOffset::Offset(v) => *v, BranchOffset::Label(v) => unreachable!("Unresolved label: {}", v), + BranchOffset::Offset(v) => *v, BranchOffset::Placeholder => unreachable!("Unresolved placeholder"), } }