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 a357723 commit d967b26Copy full SHA for d967b26
src/operator.rs
@@ -57,7 +57,7 @@ pub trait EvalContextExt<'tcx>: crate::MiriInterpCxExt<'tcx> {
57
let ptr = left.to_scalar().to_pointer(this)?;
58
// We do the actual operation with usize-typed scalars.
59
let left = ImmTy::from_uint(ptr.addr().bytes(), this.machine.layouts.usize);
60
- let result = this.binary_op(bin_op, &left, &right)?;
+ let result = this.binary_op(bin_op, &left, right)?;
61
// Construct a new pointer with the provenance of `ptr` (the LHS).
62
let result_ptr = Pointer::new(
63
ptr.provenance,
0 commit comments