about summary refs log tree commit diff
path: root/src/test/run-pass/tuple-struct-matching.rs
diff options
context:
space:
mode:
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) => {