about summary refs log tree commit diff
path: root/src/test/run-pass/new-impl-syntax.rs
diff options
context:
space:
mode:
authorGraydon Hoare <graydon@mozilla.com>2013-02-01 19:43:17 -0800
committerGraydon Hoare <graydon@mozilla.com>2013-02-01 19:43:17 -0800
commit89c8ef792f7e7641abfac421ba1e8f90384883ec (patch)
tree676c75543864e5a81ba54449cc748981da00c497 /src/test/run-pass/new-impl-syntax.rs
parente5e52d2437e239e16bab231903d2e72d16b26648 (diff)
check-fast fallout from removing export, r=burningtree
Diffstat (limited to 'src/test/run-pass/new-impl-syntax.rs')
-rw-r--r--src/test/run-pass/new-impl-syntax.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/new-impl-syntax.rs b/src/test/run-pass/new-impl-syntax.rs
index 4cb30ffa213..7966fcea879 100644
--- a/src/test/run-pass/new-impl-syntax.rs
+++ b/src/test/run-pass/new-impl-syntax.rs
@@ -19,7 +19,7 @@ impl<T:ToStr> ToStr for PolymorphicThingy<T> {
     }
 }
 
-fn main() {
+pub fn main() {
     io::println(Thingy { x: 1, y: 2 }.to_str());
     io::println(PolymorphicThingy { x: Thingy { x: 1, y: 2 } }.to_str());
 }