rust/src/test/compile-fail/bad-expr-path2.rs
2011-01-25 18:16:52 -05:00

11 lines
131 B
Rust

// error-pattern: can't refer to a module as a first-class value
mod m1 {
mod a {
}
}
fn main(vec[str] args) {
log m1.a;
}