diff options
| author | bors <bors@rust-lang.org> | 2014-06-16 08:16:49 +0000 |
|---|---|---|
| committer | bors <bors@rust-lang.org> | 2014-06-16 08:16:49 +0000 |
| commit | 7ec78053ec5fcabd5f8ca98627dd45bfa5fc4cd4 (patch) | |
| tree | 1ea55f8c25540e7339e27fe9dd79cadbc332634f /src/libdebug | |
| parent | 2ef910f71ab83761b1f5f9144621f246622e92d8 (diff) | |
| parent | 89b0e6e12ba2fb24ec0e6655a1130c16eb8d1745 (diff) | |
| download | rust-7ec78053ec5fcabd5f8ca98627dd45bfa5fc4cd4.tar.gz rust-7ec78053ec5fcabd5f8ca98627dd45bfa5fc4cd4.zip | |
auto merge of #14900 : alexcrichton/rust/snapshots, r=huonw
Closes #14898 Closes #14918
Diffstat (limited to 'src/libdebug')
| -rw-r--r-- | src/libdebug/reflect.rs | 20 | ||||
| -rw-r--r-- | src/libdebug/repr.rs | 20 |
2 files changed, 0 insertions, 40 deletions
diff --git a/src/libdebug/reflect.rs b/src/libdebug/reflect.rs index cd94829f354..f281161113f 100644 --- a/src/libdebug/reflect.rs +++ b/src/libdebug/reflect.rs @@ -193,16 +193,6 @@ impl<V:TyVisitor + MovePtr> TyVisitor for MovePtrAdaptor<V> { true } - #[cfg(stage0)] - fn visit_estr_box(&mut self) -> bool { - true - } - - #[cfg(stage0)] - fn visit_estr_uniq(&mut self) -> bool { - false - } - fn visit_estr_slice(&mut self) -> bool { self.align_to::<&'static str>(); if ! self.inner.visit_estr_slice() { return false; } @@ -247,16 +237,6 @@ impl<V:TyVisitor + MovePtr> TyVisitor for MovePtrAdaptor<V> { true } - #[cfg(stage0)] - fn visit_evec_box(&mut self, _mtbl: uint, _inner: *TyDesc) -> bool { - true - } - - #[cfg(stage0)] - fn visit_evec_uniq(&mut self, _mtbl: uint, _inner: *TyDesc) -> bool { - false - } - fn visit_evec_slice(&mut self, mtbl: uint, inner: *TyDesc) -> bool { self.align_to::<&'static [u8]>(); if ! self.inner.visit_evec_slice(mtbl, inner) { return false; } diff --git a/src/libdebug/repr.rs b/src/libdebug/repr.rs index d6ae23c6d9a..d27b0f0de7e 100644 --- a/src/libdebug/repr.rs +++ b/src/libdebug/repr.rs @@ -269,16 +269,6 @@ impl<'a> TyVisitor for ReprVisitor<'a> { }) } - #[cfg(stage0)] - fn visit_estr_box(&mut self) -> bool { - false - } - - #[cfg(stage0)] - fn visit_estr_uniq(&mut self) -> bool { - false - } - fn visit_estr_slice(&mut self) -> bool { self.get::<&str>(|this, s| this.write_escaped_slice(*s)) } @@ -320,16 +310,6 @@ impl<'a> TyVisitor for ReprVisitor<'a> { }) } - #[cfg(stage0)] - fn visit_evec_box(&mut self, _mtbl: uint, _inner: *TyDesc) -> bool { - true - } - - #[cfg(stage0)] - fn visit_evec_uniq(&mut self, _mtbl: uint, _inner: *TyDesc) -> bool { - true - } - fn visit_evec_slice(&mut self, mtbl: uint, inner: *TyDesc) -> bool { self.get::<raw::Slice<()>>(|this, s| { try!(this, this.writer.write(['&' as u8])); |
