diff options
| author | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2018-01-05 05:12:38 +0200 |
|---|---|---|
| committer | Eduard-Mihai Burtescu <edy.burt@gmail.com> | 2018-01-05 05:12:38 +0200 |
| commit | 0907494ae1b310da5708d61a5ca4f20033dcc86a (patch) | |
| tree | 8b6f131971fb97eff465ec5eeba4bb17f07f6d34 /src/librustc/mir/interpret | |
| parent | 8e7a609e635b728eba65d471c985ab462dc4cfc7 (diff) | |
| download | rust-0907494ae1b310da5708d61a5ca4f20033dcc86a.tar.gz rust-0907494ae1b310da5708d61a5ca4f20033dcc86a.zip | |
miri: use AllocId instead of u64.
Diffstat (limited to 'src/librustc/mir/interpret')
| -rw-r--r-- | src/librustc/mir/interpret/mod.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/librustc/mir/interpret/mod.rs b/src/librustc/mir/interpret/mod.rs index 054cb2340ad..8ffea62f6be 100644 --- a/src/librustc/mir/interpret/mod.rs +++ b/src/librustc/mir/interpret/mod.rs @@ -145,7 +145,7 @@ impl<'tcx> MemoryPointer { } -#[derive(Copy, Clone, Eq, Hash, Ord, PartialEq, PartialOrd, Debug)] +#[derive(Copy, Clone, Default, Eq, Hash, Ord, PartialEq, PartialOrd, Debug)] pub struct AllocId(pub u64); impl fmt::Display for AllocId { |
