]> git.lizzy.rs Git - rust.git/blob - src/test/ui/imports/reexports.stderr
Rollup merge of #57132 - daxpedda:master, r=steveklabnik
[rust.git] / src / test / ui / imports / reexports.stderr
1 error[E0364]: `foo` is private, and cannot be re-exported
2   --> $DIR/reexports.rs:6: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:6: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:7: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:28:15
21    |
22 LL |     use b::a::foo::S; //~ ERROR `foo`
23    |               ^^^
24
25 error[E0603]: module `foo` is private
26   --> $DIR/reexports.rs:29: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`.