diff --git a/src/tools/miri/src/machine.rs b/src/tools/miri/src/machine.rs index 37f54a4a5bd..ecb3e13dd54 100644 --- a/src/tools/miri/src/machine.rs +++ b/src/tools/miri/src/machine.rs @@ -264,7 +264,8 @@ pub struct AllocExtra<'tcx> { pub weak_memory: Option, /// A backtrace to where this allocation was allocated. /// As this is recorded for leak reports, it only exists - /// if this allocation is leakable. + /// if this allocation is leakable. The backtrace is not + /// pruned yet; that should be done before printing it. pub backtrace: Option>>, }