diff options
| author | Matthew Jasper <mjjasper1@gmail.com> | 2019-01-02 21:28:08 +0000 |
|---|---|---|
| committer | Matthew Jasper <mjjasper1@gmail.com> | 2019-01-02 21:28:08 +0000 |
| commit | 8ca83e915e19f14efd40d9832cb486a4da1bee19 (patch) | |
| tree | fa7cc615c5cc8f1e0248503d4b5c9c62fdc2bacd | |
| parent | 5dfc5f205c5b2077a23dcbb3d42456ffa80e9bec (diff) | |
| download | rust-8ca83e915e19f14efd40d9832cb486a4da1bee19.tar.gz rust-8ca83e915e19f14efd40d9832cb486a4da1bee19.zip | |
Add missing 'static bound for the Machine trait
| -rw-r--r-- | src/librustc_mir/interpret/machine.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc_mir/interpret/machine.rs b/src/librustc_mir/interpret/machine.rs index 1242c41a356..26d526a6f5f 100644 --- a/src/librustc_mir/interpret/machine.rs +++ b/src/librustc_mir/interpret/machine.rs @@ -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: |
