Skip to content

Commit 931e453

Browse files
committed
fix wording of alloc access tracking message
1 parent 7f485fc commit 931e453

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/tools/miri/src/diagnostics.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -562,7 +562,7 @@ impl<'mir, 'tcx> MiriMachine<'mir, 'tcx> {
562562
align = align.bytes(),
563563
),
564564
AccessedAlloc(AllocId(id), access_kind) =>
565-
format!("{access_kind} access to allocation with id {id}"),
565+
format!("{access_kind} to allocation with id {id}"),
566566
FreedAlloc(AllocId(id)) => format!("freed allocation with id {id}"),
567567
RejectedIsolatedOp(ref op) =>
568568
format!("{op} was made to return an error due to isolation"),

0 commit comments

Comments
 (0)