From d40a7713d3f044dc6f590acfc55f74f44f8295e8 Mon Sep 17 00:00:00 2001 From: Oliver Scherer Date: Mon, 12 Nov 2018 08:32:30 +0100 Subject: [PATCH] Preliminary code adjustment to let the compiler complain about missing methods --- src/librustc/mir/interpret/allocation.rs | 8 ++++---- 1 file changed, 4 insertions(+), 4 deletions(-) diff --git a/src/librustc/mir/interpret/allocation.rs b/src/librustc/mir/interpret/allocation.rs index 1a88a959b4eb..669302852d45 100644 --- a/src/librustc/mir/interpret/allocation.rs +++ b/src/librustc/mir/interpret/allocation.rs @@ -60,7 +60,7 @@ impl<'tcx, Tag, Extra> Allocation { /// on that. fn get_bytes_internal( &self, - ptr: Pointer, + ptr: Pointer, size: Size, align: Align, check_defined_and_ptr: bool, @@ -89,7 +89,7 @@ impl<'tcx, Tag, Extra> Allocation { #[inline] fn get_bytes( &self, - ptr: Pointer, + ptr: Pointer, size: Size, align: Align ) -> EvalResult<'tcx, &[u8]> { @@ -101,7 +101,7 @@ impl<'tcx, Tag, Extra> Allocation { #[inline] fn get_bytes_with_undef_and_ptr( &self, - ptr: Pointer, + ptr: Pointer, size: Size, align: Align ) -> EvalResult<'tcx, &[u8]> { @@ -112,7 +112,7 @@ impl<'tcx, Tag, Extra> Allocation { /// so be sure to actually put data there! fn get_bytes_mut( &mut self, - ptr: Pointer, + ptr: Pointer, size: Size, align: Align, ) -> EvalResult<'tcx, &mut [u8]> {