Skip to content

Commit 00dc29b

Browse files
matthewjasperpietroalbini
authored andcommitted
Add missing 'static bound for the Machine trait
1 parent e682333 commit 00dc29b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/interpret/machine.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -86,7 +86,7 @@ pub trait Machine<'a, 'mir, 'tcx>: Sized {
8686
type MemoryExtra: Default;
8787

8888
/// Extra data stored in every allocation.
89-
type AllocExtra: AllocationExtra<Self::PointerTag, Self::MemoryExtra>;
89+
type AllocExtra: AllocationExtra<Self::PointerTag, Self::MemoryExtra> + 'static;
9090

9191
/// Memory's allocation map
9292
type MemoryMap:

0 commit comments

Comments
 (0)