1 error[E0425]: cannot find function `log` in this scope
2 --> $DIR/export.rs:12:26
4 LL | pub fn x(y: isize) { log(debug, y); }
5 | ^^^ not found in this scope
7 error[E0425]: cannot find value `debug` in this scope
8 --> $DIR/export.rs:12:30
10 LL | pub fn x(y: isize) { log(debug, y); }
11 | ^^^^^ not found in this scope
13 error[E0425]: cannot find function `log` in this scope
14 --> $DIR/export.rs:15:22
16 LL | fn z(y: isize) { log(debug, y); }
17 | ^^^ not found in this scope
19 error[E0425]: cannot find value `debug` in this scope
20 --> $DIR/export.rs:15:26
22 LL | fn z(y: isize) { log(debug, y); }
23 | ^^^^^ not found in this scope
25 error[E0603]: function `z` is private
26 --> $DIR/export.rs:20:13
28 LL | fn main() { foo::z(10); } //~ ERROR function `z` is private
31 error: aborting due to 5 previous errors
33 Some errors occurred: E0425, E0603.
34 For more information about an error, try `rustc --explain E0425`.