1
Fork 0

Report a backtrace for memory leaks under Miri

This commit is contained in:
Ben Kimock 2023-03-12 18:30:33 -04:00
parent fd57c6b407
commit 606ca4da7e
13 changed files with 145 additions and 60 deletions

View file

@ -104,7 +104,7 @@ pub trait Machine<'mir, 'tcx>: Sized {
type FrameExtra;
/// Extra data stored in every allocation.
type AllocExtra: Debug + Clone + 'static;
type AllocExtra: Debug + Clone + 'tcx;
/// Type for the bytes of the allocation.
type Bytes: AllocBytes + 'static;