]> git.lizzy.rs Git - rust.git/blob - src/test/ui/export.stderr
Auto merge of #54720 - davidtwco:issue-51191, r=nikomatsakis
[rust.git] / src / test / ui / export.stderr
1 error[E0425]: cannot find function `log` in this scope
2   --> $DIR/export.rs:12:26
3    |
4 LL |     pub fn x(y: isize) { log(debug, y); }
5    |                          ^^^ not found in this scope
6
7 error[E0425]: cannot find value `debug` in this scope
8   --> $DIR/export.rs:12:30
9    |
10 LL |     pub fn x(y: isize) { log(debug, y); }
11    |                              ^^^^^ not found in this scope
12
13 error[E0425]: cannot find function `log` in this scope
14   --> $DIR/export.rs:15:22
15    |
16 LL |     fn z(y: isize) { log(debug, y); }
17    |                      ^^^ not found in this scope
18
19 error[E0425]: cannot find value `debug` in this scope
20   --> $DIR/export.rs:15:26
21    |
22 LL |     fn z(y: isize) { log(debug, y); }
23    |                          ^^^^^ not found in this scope
24
25 error[E0603]: function `z` is private
26   --> $DIR/export.rs:20:13
27    |
28 LL | fn main() { foo::z(10); } //~ ERROR function `z` is private
29    |             ^^^^^^
30
31 error: aborting due to 5 previous errors
32
33 Some errors occurred: E0425, E0603.
34 For more information about an error, try `rustc --explain E0425`.