1error[E0365]: `DProj` is only public within the crate, and cannot be re-exported outside 2 --> tests/ui/pin_project/visibility.rs:15:13 3 | 415 | pub use crate::pub_::DProj; //~ ERROR E0365 5 | ^^^^^^^^^^^^^^^^^^ re-export of crate public `DProj` 6 | 7 = note: consider declaring type or module `DProj` with `pub` 8 9error[E0365]: `DProjRef` is only public within the crate, and cannot be re-exported outside 10 --> tests/ui/pin_project/visibility.rs:17:13 11 | 1217 | pub use crate::pub_::DProjRef; //~ ERROR E0365 13 | ^^^^^^^^^^^^^^^^^^^^^ re-export of crate public `DProjRef` 14 | 15 = note: consider declaring type or module `DProjRef` with `pub` 16 17error[E0365]: `RProj` is only public within the crate, and cannot be re-exported outside 18 --> tests/ui/pin_project/visibility.rs:19:13 19 | 2019 | pub use crate::pub_::RProj; //~ ERROR E0365 21 | ^^^^^^^^^^^^^^^^^^ re-export of crate public `RProj` 22 | 23 = note: consider declaring type or module `RProj` with `pub` 24 25error[E0365]: `RProjOwn` is only public within the crate, and cannot be re-exported outside 26 --> tests/ui/pin_project/visibility.rs:21:13 27 | 2821 | pub use crate::pub_::RProjOwn; //~ ERROR E0365 29 | ^^^^^^^^^^^^^^^^^^^^^ re-export of crate public `RProjOwn` 30 | 31 = note: consider declaring type or module `RProjOwn` with `pub` 32 33error[E0365]: `RProjRef` is only public within the crate, and cannot be re-exported outside 34 --> tests/ui/pin_project/visibility.rs:23:13 35 | 3623 | pub use crate::pub_::RProjRef; //~ ERROR E0365 37 | ^^^^^^^^^^^^^^^^^^^^^ re-export of crate public `RProjRef` 38 | 39 = note: consider declaring type or module `RProjRef` with `pub` 40