aboutsummaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorJeffrey Yasskin <[email protected]>2010-07-17 15:43:59 +0800
committerGraydon Hoare <[email protected]>2010-07-18 14:25:18 +0800
commitc3c425e9f18f0b0b5062e06f174f49b2ee4aa902 (patch)
treea5d13d708254923edcf7be210147bfd2ec7c1b4b /src
parentAdd incomplete hashmap implementation to stdlib. (diff)
downloadrust-c3c425e9f18f0b0b5062e06f174f49b2ee4aa902.tar.xz
rust-c3c425e9f18f0b0b5062e06f174f49b2ee4aa902.zip
Work around auto-dereference crash in rustboot.
Diffstat (limited to 'src')
-rw-r--r--src/Makefile1
-rw-r--r--src/test/run-pass/destructor-ordering.rs2
2 files changed, 1 insertions, 2 deletions
diff --git a/src/Makefile b/src/Makefile
index 874c1737..21794a4b 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -347,7 +347,6 @@ MUT_BOX_XFAILS := $(addprefix test/run-pass/, \
TEST_XFAILS_X86 := $(MUT_BOX_XFAILS) \
test/run-pass/mlist-cycle.rs \
test/run-pass/clone-with-exterior.rs \
- test/run-pass/destructor-ordering.rs \
test/run-pass/obj-as.rs \
test/run-pass/vec-slice.rs \
test/run-pass/fn-lval.rs \
diff --git a/src/test/run-pass/destructor-ordering.rs b/src/test/run-pass/destructor-ordering.rs
index 99479c55..d4837299 100644
--- a/src/test/run-pass/destructor-ordering.rs
+++ b/src/test/run-pass/destructor-ordering.rs
@@ -18,7 +18,7 @@ state obj order_tracker(mutable int init) {
obj dorder(@order_tracker tracker, int order, str message) {
drop {
- tracker.assert_order(order, message);
+ (*tracker).assert_order(order, message);
}
}