This website requires JavaScript.
Explore
Help
Register
Sign In
mikros
/
rust
Watch
1
Star
0
Fork
0
You've already forked rust
Code
Issues
Pull Requests
Packages
Projects
Releases
Wiki
Activity
c6b1739232
rust
/
src
/
test
/
run-pass
/
use-mod.rs
15 lines
139 B
Rust
Raw
Normal View
History
Unescape
Escape
rustc: Implement "use mod"
2012-08-31 13:19:07 -05:00
use
mod
a
::
b
;
mod
a
{
Install new pub/priv/export rules as defaults, old rules accessible under #[legacy_exports];
2012-09-21 20:10:45 -05:00
#[
legacy_exports
]
;
rustc: Implement "use mod"
2012-08-31 13:19:07 -05:00
mod
b
{
Install new pub/priv/export rules as defaults, old rules accessible under #[legacy_exports];
2012-09-21 20:10:45 -05:00
#[
legacy_exports
]
;
rustc: Implement "use mod"
2012-08-31 13:19:07 -05:00
fn
f
(
)
{
}
}
}
fn
main
(
)
{
b
::
f
(
)
;
}
Reference in New Issue
Copy Permalink