Add missing 'static bound for the Machine trait

This commit is contained in:
Matthew Jasper 2019-01-02 21:28:08 +00:00
parent 5dfc5f205c
commit 8ca83e915e

View file

@ -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: