about summary refs log tree commit diff
path: root/src/test/run-pass/tuple-struct-matching.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/tuple-struct-matching.rs
parente5e52d2437e239e16bab231903d2e72d16b26648 (diff)
downloadrust-89c8ef792f7e7641abfac421ba1e8f90384883ec.tar.gz
rust-89c8ef792f7e7641abfac421ba1e8f90384883ec.zip
check-fast fallout from removing export, r=burningtree
Diffstat (limited to 'src/test/run-pass/tuple-struct-matching.rs')
-rw-r--r--src/test/run-pass/tuple-struct-matching.rs2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/tuple-struct-matching.rs b/src/test/run-pass/tuple-struct-matching.rs
index ab7b83e56ef..e127ba6d4c9 100644
--- a/src/test/run-pass/tuple-struct-matching.rs
+++ b/src/test/run-pass/tuple-struct-matching.rs
@@ -10,7 +10,7 @@
 
 struct Foo(int, int);
 
-fn main() {
+pub fn main() {
     let x = Foo(1, 2);
     match x {
         Foo(a, b) => {