Report a backtrace for memory leaks under Miri
This commit is contained in:
parent
fd57c6b407
commit
606ca4da7e
13 changed files with 145 additions and 60 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue