rust/src/test/compile-fail/import-from-missing.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

9 lines
122 B
Rust

// error-pattern:unresolved import
import spam::{ham, eggs};
mod spam {
fn ham() { }
}
fn main() { ham(); eggs(); }