We read every piece of feedback, and take your input very seriously.
To see all available qualifiers, see our documentation.
1 parent 9f7baed commit 1252947Copy full SHA for 1252947
src/test/run-pass/borrowck-freeze-frozen-mut.rs
@@ -18,7 +18,7 @@ fn get<'a, T>(ms: &'a MutSlice<'a, T>, index: uint) -> &'a T {
18
&ms.data[index]
19
}
20
21
-fn main() {
+pub fn main() {
22
let mut data = [1, 2, 3];
23
{
24
let slice = MutSlice { data: data };
0 commit comments