Skip to content

Commit fb68292

Browse files
saethlinRalfJung
andcommitted
Improve doc comment of AllocExtra's backtrace
Co-authored-by: Ralf Jung <[email protected]>
1 parent cbc7f94 commit fb68292

File tree

1 file changed

+2
-1
lines changed

1 file changed

+2
-1
lines changed

src/tools/miri/src/machine.rs

+2-1
Original file line numberDiff line numberDiff line change
@@ -264,7 +264,8 @@ pub struct AllocExtra<'tcx> {
264264
pub weak_memory: Option<weak_memory::AllocState>,
265265
/// A backtrace to where this allocation was allocated.
266266
/// As this is recorded for leak reports, it only exists
267-
/// if this allocation is leakable.
267+
/// if this allocation is leakable. The backtrace is not
268+
/// pruned yet; that should be done before printing it.
268269
pub backtrace: Option<Vec<FrameInfo<'tcx>>>,
269270
}
270271

0 commit comments

Comments
 (0)