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
30d923d14b
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 09:46:20 -05:00
// error-pattern: unresolved name: a
Print an error if we try to refer to a module in an expr_path.
2011-01-25 17:15:19 -06:00
mod
m1
{
Reformat for new syntax
2011-07-27 07:19:39 -05:00
mod
a
{
}
Print an error if we try to refer to a module in an expr_path.
2011-01-25 17:15:19 -06:00
}
Reformat. Issue #855
2011-09-02 17:34:58 -05:00
fn
main
(
args
:
[
str
]
)
{
log
m1
::
a
;
}
Reference in New Issue
Copy Permalink