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
8d381823e2
rust
/
src
/
test
/
run-pass
/
import8.rs
14 lines
111 B
Rust
Raw
Normal View
History
Unescape
Escape
Downcase std modules again, move to :: for module dereferencing This should be a snapshot transition.
2011-05-12 10:24:54 -05:00
import
foo
::
x
;
import
z
=
foo
::
x
;
Correctly handle "import foo = bar.zed;".
2011-01-28 10:54:59 -06:00
mod
foo
{
fn
x
(
int
y
)
{
log
y
;
}
}
fn
main
(
)
{
x
(
10
)
;
z
(
10
)
;
}
Reference in New Issue
Copy Permalink