rust/src/test/compile-fail/bad-expr-path2.rs
Marijn Haverbeke 46e5e2f685 Be less specific in 'unresolved import' error patterns
To make sure different test set-ups (check-fast) don't cause the
tests to fail.
2011-12-02 17:20:03 +01:00

8 lines
104 B
Rust

// error-pattern: unresolved name: m1::a
mod m1 {
mod a { }
}
fn main(args: [str]) { log m1::a; }