about summary refs log tree commit diff
path: root/src/test/ui/export.stderr
blob: a3668a502cdd4aefce9d7f9907921677a6c4666e (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
23
24
25
26
27
28
29
30
31
32
33
34
error[E0425]: cannot find function `log` in this scope
  --> $DIR/export.rs:2:26
   |
LL |     pub fn x(y: isize) { log(debug, y); }
   |                          ^^^ not found in this scope

error[E0425]: cannot find value `debug` in this scope
  --> $DIR/export.rs:2:30
   |
LL |     pub fn x(y: isize) { log(debug, y); }
   |                              ^^^^^ not found in this scope

error[E0425]: cannot find function `log` in this scope
  --> $DIR/export.rs:5:22
   |
LL |     fn z(y: isize) { log(debug, y); }
   |                      ^^^ not found in this scope

error[E0425]: cannot find value `debug` in this scope
  --> $DIR/export.rs:5:26
   |
LL |     fn z(y: isize) { log(debug, y); }
   |                          ^^^^^ not found in this scope

error[E0603]: function `z` is private
  --> $DIR/export.rs:10:18
   |
LL | fn main() { foo::z(10); }
   |                  ^

error: aborting due to 5 previous errors

Some errors have detailed explanations: E0425, E0603.
For more information about an error, try `rustc --explain E0425`.