mirror of
https://github.com/rust-lang/rust.git
synced 2026-04-27 18:57:42 +03:00
fix wording of alloc access tracking message
This commit is contained in:
@@ -562,7 +562,7 @@ pub fn emit_diagnostic(&self, e: NonHaltingDiagnostic) {
|
||||
align = align.bytes(),
|
||||
),
|
||||
AccessedAlloc(AllocId(id), access_kind) =>
|
||||
format!("{access_kind} access to allocation with id {id}"),
|
||||
format!("{access_kind} to allocation with id {id}"),
|
||||
FreedAlloc(AllocId(id)) => format!("freed allocation with id {id}"),
|
||||
RejectedIsolatedOp(ref op) =>
|
||||
format!("{op} was made to return an error due to isolation"),
|
||||
|
||||
Reference in New Issue
Block a user