Skip to content

Commit

Permalink
Merge branch 'main' into toolchain-2023-11-08
Browse files Browse the repository at this point in the history
  • Loading branch information
zhassan-aws committed Nov 8, 2023
2 parents 26ae2df + 0bde3ea commit 3c3c72c
Showing 1 changed file with 2 additions and 2 deletions.
4 changes: 2 additions & 2 deletions kani-compiler/src/codegen_cprover_gotoc/codegen/operand.rs
Original file line number Diff line number Diff line change
Expand Up @@ -716,8 +716,8 @@ impl<'tcx> GotocCtx<'tcx> {
trace!(func=?instance, "codegen_func_symbol");
let func = self.symbol_name(instance);
self.symbol_table
.lookup(func)
.expect("Function `{func}` should've been declared before usage")
.lookup(&func)
.unwrap_or_else(|| panic!("Function `{func}` should've been declared before usage"))
};
(sym, funct)
}
Expand Down

0 comments on commit 3c3c72c

Please sign in to comment.