1 Private items cannot be publicly re-exported. This error indicates that you
2 attempted to `pub use` a type or value that was not itself public.
4 Erroneous code example:
11 pub use super::foo; // error!
16 The solution to this problem is to ensure that the items that you are
17 re-exporting are themselves marked with `pub`:
21 pub fn foo() {} // ok!
29 See the [Use Declarations][use-declarations] section of the reference for
30 more information on this topic.
32 [use-declarations]: https://doc.rust-lang.org/reference/items/use-declarations.html