diff options
| author | Alex Crichton <alex@alexcrichton.com> | 2013-09-25 00:43:37 -0700 |
|---|---|---|
| committer | Alex Crichton <alex@alexcrichton.com> | 2013-09-25 00:43:37 -0700 |
| commit | 30862a64c29985b044d9bf6f74fcf1394bc145c7 (patch) | |
| tree | 712da0df6bd5e3661431ec069fa814d048dc703a /src/test/run-pass/trait-bounds-recursion.rs | |
| parent | 10a583ce1ac28a8cbf34b0f4274285f33bdfce29 (diff) | |
| download | rust-30862a64c29985b044d9bf6f74fcf1394bc145c7.tar.gz rust-30862a64c29985b044d9bf6f74fcf1394bc145c7.zip | |
Fix run-pass tests to have 'pub fn main'
This is required by the check-fast target because each test is slurped up into a submodule.
Diffstat (limited to 'src/test/run-pass/trait-bounds-recursion.rs')
| -rw-r--r-- | src/test/run-pass/trait-bounds-recursion.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/trait-bounds-recursion.rs b/src/test/run-pass/trait-bounds-recursion.rs index 043aa358fa0..49f8999cd45 100644 --- a/src/test/run-pass/trait-bounds-recursion.rs +++ b/src/test/run-pass/trait-bounds-recursion.rs @@ -24,4 +24,4 @@ trait C { fn id<T:J<T>>(x:T) -> T { x.j() } } -fn main() { } +pub fn main() { } |
