]> git.proxmox.com Git - rustc.git/blob - src/test/ui/imports/reexports.stderr
New upstream version 1.31.0~beta.4+dfsg1
[rustc.git] / src / test / ui / imports / reexports.stderr
1 error[E0364]: `foo` is private, and cannot be re-exported
2 --> $DIR/reexports.rs:16:17
3 |
4 LL | pub use super::foo; //~ ERROR cannot be re-exported
5 | ^^^^^^^^^^
6 |
7 note: consider marking `foo` as `pub` in the imported module
8 --> $DIR/reexports.rs:16:17
9 |
10 LL | pub use super::foo; //~ ERROR cannot be re-exported
11 | ^^^^^^^^^^
12
13 error: A non-empty glob must import something with the glob's visibility
14 --> $DIR/reexports.rs:17:17
15 |
16 LL | pub use super::*; //~ ERROR must import something with the glob's visibility
17 | ^^^^^^^^
18
19 error[E0603]: module `foo` is private
20 --> $DIR/reexports.rs:38:15
21 |
22 LL | use b::a::foo::S; //~ ERROR `foo`
23 | ^^^
24
25 error[E0603]: module `foo` is private
26 --> $DIR/reexports.rs:39:15
27 |
28 LL | use b::b::foo::S as T; //~ ERROR `foo`
29 | ^^^
30
31 error: aborting due to 4 previous errors
32
33 Some errors occurred: E0364, E0603.
34 For more information about an error, try `rustc --explain E0364`.