From 0d6aaec4935ddb4d1fc8fcf96e88f8a9eae1d44e Mon Sep 17 00:00:00 2001 From: Roy Frostig Date: Tue, 29 Jun 2010 00:48:49 -0700 Subject: [PATCH] Work-around and un-XFAIL generic-obj.rs test. The problem uncovered in the original XFAIL is more generally that of issue #92. --- src/Makefile | 1 - src/test/run-pass/generic-obj.rs | 2 +- 2 files changed, 1 insertion(+), 2 deletions(-) diff --git a/src/Makefile b/src/Makefile index 5a72afdeea9..31da01b16fd 100644 --- a/src/Makefile +++ b/src/Makefile @@ -325,7 +325,6 @@ TEST_XFAILS_X86 := test/run-pass/mlist-cycle.rs \ test/run-pass/vec-slice.rs \ test/run-pass/fn-lval.rs \ test/run-pass/generic-fn-infer.rs \ - test/run-pass/generic-obj.rs \ test/run-pass/generic-recursive-tag.rs \ test/run-pass/mutable-alias-vec.rs \ test/run-pass/mutable-vec-drop.rs \ diff --git a/src/test/run-pass/generic-obj.rs b/src/test/run-pass/generic-obj.rs index 414aaff46a2..1ff7d180a7f 100644 --- a/src/test/run-pass/generic-obj.rs +++ b/src/test/run-pass/generic-obj.rs @@ -11,7 +11,7 @@ obj buf[T](tup(T,T,T) data) { } } - fn take(T t) {} + fn take(&T t) {} } fn main() {