]>
Commit | Line | Data |
---|---|---|
f20569fa XL |
1 | // Deeply indented modules. |
2 | ||
3 | mod foo { | |
4 | mod bar { | |
5 | mod baz {} | |
6 | } | |
7 | } | |
8 | ||
9 | mod foo { | |
10 | mod bar { | |
11 | mod baz { | |
12 | fn foo() { | |
13 | bar() | |
14 | } | |
15 | } | |
16 | } | |
17 | ||
18 | mod qux {} | |
19 | } | |
20 | ||
21 | mod boxed { | |
22 | pub use std::boxed::{Box, HEAP}; | |
23 | } | |
24 | ||
25 | pub mod x { | |
26 | pub fn freopen( | |
27 | filename: *const c_char, | |
28 | mode: *const c_char, | |
29 | mode2: *const c_char, | |
30 | mode3: *const c_char, | |
31 | file: *mut FILE, | |
32 | ) -> *mut FILE { | |
33 | } | |
34 | } | |
35 | ||
36 | mod y { // sup boooooiiii | |
37 | } |