We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
There was an error while loading. Please reload this page.
1 parent 997c95c commit c8746e2Copy full SHA for c8746e2
kani-compiler/src/codegen_cprover_gotoc/codegen/rvalue.rs
@@ -57,7 +57,7 @@ impl<'tcx> GotocCtx<'tcx> {
57
) -> Expr {
58
debug!(?op, ?left_op, ?right_op, "codegen_comparison_fat_ptr");
59
let left_typ = self.operand_ty_stable(left_op);
60
- let right_typ = self.operand_ty_stable(left_op);
+ let right_typ = self.operand_ty_stable(right_op);
61
assert_eq!(left_typ, right_typ, "Cannot compare pointers of different types");
62
assert!(self.is_fat_pointer_stable(left_typ));
63
0 commit comments