diff options
| author | Marijn Haverbeke <[email protected]> | 2011-05-13 16:46:20 +0200 |
|---|---|---|
| committer | Marijn Haverbeke <[email protected]> | 2011-05-13 17:20:46 +0200 |
| commit | ae26b775b4ae4a1405effefb015ec44f0311c29f (patch) | |
| tree | 33b7104df2b9fcebca3b74a6b319a8a695a3c907 /src/test/compile-fail/import3.rs | |
| parent | Extend crate format to allow multiple definitions for a single name (diff) | |
| download | rust-ae26b775b4ae4a1405effefb015ec44f0311c29f.tar.xz rust-ae26b775b4ae4a1405effefb015ec44f0311c29f.zip | |
Implement module namespaces
Module names no longer clash with type and value names. The
tokenizer/parser still needs to be taught to be more careful in
identifying keywords, so that we can use 'str' and 'vec' and so as
module names.
Diffstat (limited to 'src/test/compile-fail/import3.rs')
| -rw-r--r-- | src/test/compile-fail/import3.rs | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/src/test/compile-fail/import3.rs b/src/test/compile-fail/import3.rs index ba7a178c..95f10845 100644 --- a/src/test/compile-fail/import3.rs +++ b/src/test/compile-fail/import3.rs @@ -1,5 +1,6 @@ // xfail-boot -// error-pattern: main is not a module or crate +// xfail-stage0 +// error-pattern: unresolved modulename import main::bar; fn main(vec[str] args) { |