about summary refs log tree commit diff
path: root/src
diff options
context:
space:
mode:
Diffstat (limited to 'src')
-rw-r--r--src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs7
1 files changed, 2 insertions, 5 deletions
diff --git a/src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs b/src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs
index 2d42088fc14..2d0b4f37b2f 100644
--- a/src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs
+++ b/src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs
@@ -1,5 +1,3 @@
-// xfail-test FIXME #6257
-
 // Copyright 2013 The Rust Project Developers. See the COPYRIGHT
 // file at the top-level directory of this distribution and at
 // http://rust-lang.org/COPYRIGHT.
@@ -16,9 +14,8 @@ use std::cmp::{Less,Equal,Greater};
 struct A<'self> {
     x: &'self int
 }
-
-fn main() {
-    let a = A { x: &1 }, b = A { x: &2 };
+pub fn main() {
+    let (a, b) = (A { x: &1 }, A { x: &2 });
 
     assert!(a.equals(&a));
     assert!(b.equals(&b));