about summary refs log tree commit diff
path: root/src/libstd
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2014-01-14 16:20:09 -0500
committerDaniel Micay <danielmicay@gmail.com>2014-01-14 22:01:44 -0500
commit6809b172e0dee6f197e4ae30af0d8162e92d5225 (patch)
tree1f21f0a0d612ed8baec2ea886eb3c2eda53f0ca8 /src/libstd
parent0e885e42b1292fe2592488a52c35d54b9fe50fb8 (diff)
downloadrust-6809b172e0dee6f197e4ae30af0d8162e92d5225.tar.gz
rust-6809b172e0dee6f197e4ae30af0d8162e92d5225.zip
remove `borrow_offset` as ~ is now free of headers
Diffstat (limited to 'src/libstd')
-rw-r--r--src/libstd/unstable/intrinsics.rs7
1 files changed, 0 insertions, 7 deletions
diff --git a/src/libstd/unstable/intrinsics.rs b/src/libstd/unstable/intrinsics.rs
index 269622d02c0..18a1790cd9b 100644
--- a/src/libstd/unstable/intrinsics.rs
+++ b/src/libstd/unstable/intrinsics.rs
@@ -98,13 +98,6 @@ pub struct TyDesc {
     // Called by reflection visitor to visit a value of type `T`
     visit_glue: GlueFn,
 
-    // If T represents a box pointer (`@U` or `~U`), then
-    // `borrow_offset` is the amount that the pointer must be adjusted
-    // to find the payload.  This is always derivable from the type
-    // `U`, but in the case of `@Trait` or `~Trait` objects, the type
-    // `U` is unknown.
-    borrow_offset: uint,
-
     // Name corresponding to the type
     name: &'static str
 }