about summary refs log tree commit diff
diff options
context:
space:
mode:
authorDan Luu <danluu@gmail.com>2013-10-21 07:45:16 -0500
committerDan Luu <danluu@gmail.com>2013-10-21 07:45:16 -0500
commit3503d0bcd19d9c6ce80961fd1d972afb64963cd9 (patch)
treedcb0690e914272c84a9bd4df5ce68f6ed1437acc
parent47fc24bd8f48032c259f3573b4836dffae048ea3 (diff)
downloadrust-3503d0bcd19d9c6ce80961fd1d972afb64963cd9.tar.gz
rust-3503d0bcd19d9c6ce80961fd1d972afb64963cd9.zip
Make fn pub for windows compatibility
-rw-r--r--src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs2
1 files changed, 1 insertions, 1 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 3684615ad56..2d0b4f37b2f 100644
--- a/src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs
+++ b/src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs
@@ -14,7 +14,7 @@ use std::cmp::{Less,Equal,Greater};
 struct A<'self> {
     x: &'self int
 }
-fn main() {
+pub fn main() {
     let (a, b) = (A { x: &1 }, A { x: &2 });
 
     assert!(a.equals(&a));