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 d70a00f commit e4a5024Copy full SHA for e4a5024
src/tools/miri/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