]> git.lizzy.rs Git - rust.git/blob - src/test/ui/export.stderr
Rollup merge of #87440 - twetzel59:fix-barrier-no-op, r=yaahc
[rust.git] / src / test / ui / export.stderr
1 error[E0425]: cannot find function `log` in this scope
2   --> $DIR/export.rs:2: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:2: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:5: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:5: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:10:18
27    |
28 LL | fn main() { foo::z(10); }
29    |                  ^ private function
30    |
31 note: the function `z` is defined here
32   --> $DIR/export.rs:5:5
33    |
34 LL |     fn z(y: isize) { log(debug, y); }
35    |     ^^^^^^^^^^^^^^
36
37 error: aborting due to 5 previous errors
38
39 Some errors have detailed explanations: E0425, E0603.
40 For more information about an error, try `rustc --explain E0425`.