Skip to content

Commit 8ca83e9

Browse files
committed
Add missing 'static bound for the Machine trait
1 parent 5dfc5f2 commit 8ca83e9

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/librustc_mir/interpret/machine.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -76,7 +76,7 @@ pub trait Machine<'a, 'mir, 'tcx>: Sized {
7676
type MemoryExtra: Default;
7777

7878
/// Extra data stored in every allocation.
79-
type AllocExtra: AllocationExtra<Self::PointerTag, Self::MemoryExtra>;
79+
type AllocExtra: AllocationExtra<Self::PointerTag, Self::MemoryExtra> + 'static;
8080

8181
/// Memory's allocation map
8282
type MemoryMap:

0 commit comments

Comments
 (0)