1 2 3 4 5 6 7 8
// error-pattern:unresolved import import spam::{ham, eggs}; mod spam { fn ham() { } } fn main() { ham(); eggs(); }