diff --git a/src/stacked_borrows.rs b/src/stacked_borrows.rs index 8dda4a9e22..d7c2139323 100644 --- a/src/stacked_borrows.rs +++ b/src/stacked_borrows.rs @@ -731,7 +731,7 @@ trait EvalContextPrivExt<'mir, 'tcx: 'mir>: crate::MiriEvalContextExt<'mir, 'tcx alloc_history.log_creation( Some(orig_tag), new_tag, - alloc_range(base_offset, base_offset + size), + alloc_range(base_offset, size), &this.machine.threads, ); if protect {