Skip to content

Commit

Permalink
Add missing 'static bound for the Machine trait
Browse files Browse the repository at this point in the history
  • Loading branch information
matthewjasper committed Jan 2, 2019
1 parent 5dfc5f2 commit 8ca83e9
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion src/librustc_mir/interpret/machine.rs
Original file line number Diff line number Diff line change
Expand Up @@ -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:
Expand Down

0 comments on commit 8ca83e9

Please sign in to comment.