about summary refs log tree commit diff
path: root/src/test/debug-info/recursive-struct.rs
diff options
context:
space:
mode:
authorDaniel Micay <danielmicay@gmail.com>2014-01-14 02:46:58 -0500
committerDaniel Micay <danielmicay@gmail.com>2014-01-14 22:01:40 -0500
commit0e885e42b1292fe2592488a52c35d54b9fe50fb8 (patch)
treed2490dba4da83d502bb4499c80395506d6f54211 /src/test/debug-info/recursive-struct.rs
parent9075025c7b48ffc028b3bddbb983ceac98ce9636 (diff)
downloadrust-0e885e42b1292fe2592488a52c35d54b9fe50fb8.tar.gz
rust-0e885e42b1292fe2592488a52c35d54b9fe50fb8.zip
remove reference counting headers from ~
Unique pointers and vectors currently contain a reference counting
header when containing a managed pointer.

This `{ ref_count, type_desc, prev, next }` header is not necessary and
not a sensible foundation for tracing. It adds needless complexity to
library code and is responsible for breakage in places where the branch
has been left out.

The `borrow_offset` field can now be removed from `TyDesc` along with
the associated handling in the compiler.

Closes #9510
Closes #11533
Diffstat (limited to 'src/test/debug-info/recursive-struct.rs')
-rw-r--r--src/test/debug-info/recursive-struct.rs4
1 files changed, 2 insertions, 2 deletions
diff --git a/src/test/debug-info/recursive-struct.rs b/src/test/debug-info/recursive-struct.rs
index 20c8cc27f27..cf693d7e356 100644
--- a/src/test/debug-info/recursive-struct.rs
+++ b/src/test/debug-info/recursive-struct.rs
@@ -49,9 +49,9 @@
 // debugger:print stack_managed.next.val->val.value
 // check:$12 = 11
 
-// debugger:print unique_managed->val.value
+// debugger:print unique_managed->value
 // check:$13 = 12
-// debugger:print unique_managed->val.next.val->val.value
+// debugger:print unique_managed->next.val->val.value
 // check:$14 = 13
 
 // debugger:print box_managed->val.value