diff options
| author | Marcus Klaas <mail@marcusklaas.nl> | 2015-11-20 22:44:15 +0100 |
|---|---|---|
| committer | Marcus Klaas <mail@marcusklaas.nl> | 2015-11-21 21:06:29 +0100 |
| commit | 49e2a146b17a631925c7cd7be00c5cc60d0b5b85 (patch) | |
| tree | bc83bfd4eb84df70ff600abb4741795c8823954e /tests/source | |
| parent | bc76558910b0eb8917e7e20a79a0080aa75a1b73 (diff) | |
Rewrite module declarations
Diffstat (limited to 'tests/source')
| -rw-r--r-- | tests/source/mod-1.rs | 5 | ||||
| -rw-r--r-- | tests/source/mod-2.rs | 4 |
2 files changed, 6 insertions, 3 deletions
diff --git a/tests/source/mod-1.rs b/tests/source/mod-1.rs index 5eb73cb5d4c..427a355b6be 100644 --- a/tests/source/mod-1.rs +++ b/tests/source/mod-1.rs @@ -16,7 +16,7 @@ mod foo { mod boxed { pub use std::boxed::{Box, HEAP}; } -mod x { +pub mod x { pub fn freopen(filename: *const c_char, mode: *const c_char, mode2: *const c_char, @@ -24,3 +24,6 @@ mod x { file: *mut FILE) -> *mut FILE{} } + + mod y { // sup boooooiiii + } diff --git a/tests/source/mod-2.rs b/tests/source/mod-2.rs index c4a148a616e..00b70e972cd 100644 --- a/tests/source/mod-2.rs +++ b/tests/source/mod-2.rs @@ -1,4 +1,4 @@ // Some nested mods -mod nestedmod; -mod no_new_line_beginning; + mod nestedmod ; +pub mod no_new_line_beginning; |
