aboutsummaryrefslogtreecommitdiff
path: root/src/test/run-pass/inner-module.rs
diff options
context:
space:
mode:
authorMarijn Haverbeke <[email protected]>2011-05-12 17:24:54 +0200
committerMarijn Haverbeke <[email protected]>2011-05-12 21:30:44 +0200
commit3816e57fd2a8ab19e4ac6d4b3ddd5b49d5973ff2 (patch)
tree508982ed2f789aedd89eebd529343d9dc88b8e01 /src/test/run-pass/inner-module.rs
parentTransitional change to make extfmt output lowercase module name (diff)
downloadrust-3816e57fd2a8ab19e4ac6d4b3ddd5b49d5973ff2.tar.xz
rust-3816e57fd2a8ab19e4ac6d4b3ddd5b49d5973ff2.zip
Downcase std modules again, move to :: for module dereferencing
This should be a snapshot transition.
Diffstat (limited to 'src/test/run-pass/inner-module.rs')
-rw-r--r--src/test/run-pass/inner-module.rs6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/test/run-pass/inner-module.rs b/src/test/run-pass/inner-module.rs
index f5066b6e..03f32bc4 100644
--- a/src/test/run-pass/inner-module.rs
+++ b/src/test/run-pass/inner-module.rs
@@ -7,11 +7,11 @@ mod inner {
}
}
fn hello() {
- inner2.hello();
+ inner2::hello();
}
}
fn main() {
- inner.hello();
- inner.inner2.hello();
+ inner::hello();
+ inner::inner2::hello();
}