2018-08-08 07:28:26 -05:00
|
|
|
error[E0425]: cannot find function `log` in this scope
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/export.rs:2:26
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | pub fn x(y: isize) { log(debug, y); }
|
|
|
|
| ^^^ not found in this scope
|
|
|
|
|
|
|
|
error[E0425]: cannot find value `debug` in this scope
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/export.rs:2:30
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | pub fn x(y: isize) { log(debug, y); }
|
|
|
|
| ^^^^^ not found in this scope
|
|
|
|
|
|
|
|
error[E0425]: cannot find function `log` in this scope
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/export.rs:5:22
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | fn z(y: isize) { log(debug, y); }
|
|
|
|
| ^^^ not found in this scope
|
|
|
|
|
|
|
|
error[E0425]: cannot find value `debug` in this scope
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/export.rs:5:26
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | fn z(y: isize) { log(debug, y); }
|
|
|
|
| ^^^^^ not found in this scope
|
|
|
|
|
|
|
|
error[E0603]: function `z` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/export.rs:10:18
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
2019-03-09 06:03:44 -06:00
|
|
|
LL | fn main() { foo::z(10); }
|
2018-10-27 12:21:34 -05:00
|
|
|
| ^
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to 5 previous errors
|
|
|
|
|
2019-04-17 12:26:38 -05:00
|
|
|
Some errors have detailed explanations: E0425, E0603.
|
2018-08-08 07:28:26 -05:00
|
|
|
For more information about an error, try `rustc --explain E0425`.
|