2 pub fn x(y: isize) { log(debug, y); }
3 //~^ ERROR cannot find function `log` in this scope
4 //~| ERROR cannot find value `debug` in this scope
5 fn z(y: isize) { log(debug, y); }
6 //~^ ERROR cannot find function `log` in this scope
7 //~| ERROR cannot find value `debug` in this scope
10 fn main() { foo::z(10); } //~ ERROR function `z` is private