Debian Codegraph @

third_party/rust/pin-project/tests/ui/pin_project/visibility.stderr

raw
1 error[E0365]: `DProj` is only public within the crate, and cannot be re-exported outside
2 --> tests/ui/pin_project/visibility.rs:15:13
3 |
4 15 | 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
9 error[E0365]: `DProjRef` is only public within the crate, and cannot be re-exported outside
10 --> tests/ui/pin_project/visibility.rs:17:13
11 |
12 17 | 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
17 error[E0365]: `RProj` is only public within the crate, and cannot be re-exported outside
18 --> tests/ui/pin_project/visibility.rs:19:13
19 |
20 19 | 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
25 error[E0365]: `RProjOwn` is only public within the crate, and cannot be re-exported outside
26 --> tests/ui/pin_project/visibility.rs:21:13
27 |
28 21 | 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
33 error[E0365]: `RProjRef` is only public within the crate, and cannot be re-exported outside
34 --> tests/ui/pin_project/visibility.rs:23:13
35 |
36 23 | 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`