rust/src/test/compile-fail/import.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
142 B
Rust

// error-pattern: unresolved import
import zed::bar;
import zed::baz;
mod zed {
fn bar() { log "bar"; }
}
fn main(args: [str]) { bar(); }