aboutsummaryrefslogtreecommitdiff
path: root/src/test/compile-fail/bad-expr-path2.rs
blob: a2f58f8ede1acce01ef4992599301daea8ba946e (plain) (blame)
1
2
3
4
5
6
7
8
9
10
// error-pattern: can't refer to a module as a first-class value

mod m1 {
  mod a {
  }
}

fn main(vec[str] args) {
  log m1.a;
}