Skip to content

Commit 1252947

Browse files
committed
Make main pub in test case (cc #9629)
1 parent 9f7baed commit 1252947

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/test/run-pass/borrowck-freeze-frozen-mut.rs

+1-1
Original file line numberDiff line numberDiff line change
@@ -18,7 +18,7 @@ fn get<'a, T>(ms: &'a MutSlice<'a, T>, index: uint) -> &'a T {
1818
&ms.data[index]
1919
}
2020

21-
fn main() {
21+
pub fn main() {
2222
let mut data = [1, 2, 3];
2323
{
2424
let slice = MutSlice { data: data };

0 commit comments

Comments
 (0)