Add missing 'static bound for the Machine trait
This commit is contained in:
parent
5dfc5f205c
commit
8ca83e915e
1 changed files with 1 additions and 1 deletions
|
|
@ -76,7 +76,7 @@ pub trait Machine<'a, 'mir, 'tcx>: Sized {
|
|||
type MemoryExtra: Default;
|
||||
|
||||
/// Extra data stored in every allocation.
|
||||
type AllocExtra: AllocationExtra<Self::PointerTag, Self::MemoryExtra>;
|
||||
type AllocExtra: AllocationExtra<Self::PointerTag, Self::MemoryExtra> + 'static;
|
||||
|
||||
/// Memory's allocation map
|
||||
type MemoryMap:
|
||||
|
|
|
|||
Loading…
Add table
Add a link
Reference in a new issue