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
rust
/
src
/
test
/
compile-fail
/
bad-expr-path2.rs
8 lines
100 B
Rust
Raw
Normal View
History
Unescape
Escape
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.
2011-05-13 16:46:20 +02:00
// error-pattern: unresolved name: a
Print an error if we try to refer to a module in an expr_path.
2011-01-25 18:15:19 -05:00
mod
m1
{
Reformat for new syntax
2011-07-27 14:19:39 +02:00
mod
a
{
}
Print an error if we try to refer to a module in an expr_path.
2011-01-25 18:15:19 -05:00
}
Port the tests to the typaram foo<T> syntax.
2011-08-10 09:27:22 -07:00
fn
main
(
args
:
[
str
]
)
{
log
m1
::
a
;
}
Reference in New Issue
Copy Permalink