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-basic.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-basic.rs')
| -rw-r--r-- | src/test/run-pass/trait-bounds-basic.rs | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/test/run-pass/trait-bounds-basic.rs b/src/test/run-pass/trait-bounds-basic.rs index cc2c12e4109..9fef70a4dda 100644 --- a/src/test/run-pass/trait-bounds-basic.rs +++ b/src/test/run-pass/trait-bounds-basic.rs @@ -29,4 +29,4 @@ fn e(x: ~Foo) { // sugar for ~Foo:Owned b(x); } -fn main() { } +pub fn main() { } |
