diff options
| author | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2018-11-12 08:32:30 +0100 |
|---|---|---|
| committer | Oliver Scherer <github35764891676564198441@oli-obk.de> | 2018-11-24 11:36:31 +0100 |
| commit | d40a7713d3f044dc6f590acfc55f74f44f8295e8 (patch) | |
| tree | fa0a4784e5e742415af1690f9b281c4b7c30d9fc /src | |
| parent | 98cd2ad4ea84408ecd9d064f4bd90fe406fb7ddd (diff) | |
| download | rust-d40a7713d3f044dc6f590acfc55f74f44f8295e8.tar.gz rust-d40a7713d3f044dc6f590acfc55f74f44f8295e8.zip | |
Preliminary code adjustment to let the compiler complain about missing methods
Diffstat (limited to 'src')
| -rw-r--r-- | src/librustc/mir/interpret/allocation.rs | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/src/librustc/mir/interpret/allocation.rs b/src/librustc/mir/interpret/allocation.rs index 1a88a959b4e..669302852d4 100644 --- a/src/librustc/mir/interpret/allocation.rs +++ b/src/librustc/mir/interpret/allocation.rs @@ -60,7 +60,7 @@ impl<'tcx, Tag, Extra> Allocation<Tag, Extra> { /// on that. fn get_bytes_internal( &self, - ptr: Pointer<M::PointerTag>, + ptr: Pointer<Tag>, size: Size, align: Align, check_defined_and_ptr: bool, @@ -89,7 +89,7 @@ impl<'tcx, Tag, Extra> Allocation<Tag, Extra> { #[inline] fn get_bytes( &self, - ptr: Pointer<M::PointerTag>, + ptr: Pointer<Tag>, size: Size, align: Align ) -> EvalResult<'tcx, &[u8]> { @@ -101,7 +101,7 @@ impl<'tcx, Tag, Extra> Allocation<Tag, Extra> { #[inline] fn get_bytes_with_undef_and_ptr( &self, - ptr: Pointer<M::PointerTag>, + ptr: Pointer<Tag>, size: Size, align: Align ) -> EvalResult<'tcx, &[u8]> { @@ -112,7 +112,7 @@ impl<'tcx, Tag, Extra> Allocation<Tag, Extra> { /// so be sure to actually put data there! fn get_bytes_mut( &mut self, - ptr: Pointer<M::PointerTag>, + ptr: Pointer<Tag>, size: Size, align: Align, ) -> EvalResult<'tcx, &mut [u8]> { |
