aboutsummaryrefslogtreecommitdiff
path: root/src/test/compile-fail/import2.rs
blob: 5a9ddcbd81513669fdaf57ba6de9f6cdf7eb9bb1 (plain) (blame)
1
2
3
4
5
6
7
8
9
10
11
12
// error-pattern: unresolved name: zed
import baz.zed.bar;
mod baz {
}
mod zed {
  fn bar() {
    log "bar3";
  }
}
fn main(vec[str] args) {
  bar();
}