Skip to content

Commit 3503d0b

Browse files
committed
Make fn pub for windows compatibility
1 parent 47fc24b commit 3503d0b

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass/deriving-self-lifetime-totalord-totaleq.rs

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -14,7 +14,7 @@ use std::cmp::{Less,Equal,Greater};
1414
struct A<'self> {
1515
x: &'self int
1616
}
17-
fn main() {
17+
pub fn main() {
1818
let (a, b) = (A { x: &1 }, A { x: &2 });
1919

2020
assert!(a.equals(&a));

0 commit comments

Comments
 (0)