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