1 error[E0425]: cannot find function `log` in this scope
2 --> $DIR/export.rs:2: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:2: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:5: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:5: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:10:18
28 LL | fn main() { foo::z(10); }
31 note: the function `z` is defined here
32 --> $DIR/export.rs:5:5
34 LL | fn z(y: isize) { log(debug, y); }
37 error: aborting due to 5 previous errors
39 Some errors have detailed explanations: E0425, E0603.
40 For more information about an error, try `rustc --explain E0425`.