]> git.lizzy.rs Git - rust.git/blob - tests/ui/privacy/effective_visibilities.stderr
add tests for 107090
[rust.git] / tests / ui / privacy / effective_visibilities.stderr
1 error: Direct: pub(crate), Reexported: pub(crate), Reachable: pub(crate), ReachableThroughImplTrait: pub(crate)
2   --> $DIR/effective_visibilities.rs:4:1
3    |
4 LL | mod outer {
5    | ^^^^^^^^^
6
7 error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
8   --> $DIR/effective_visibilities.rs:6:5
9    |
10 LL |     pub mod inner1 {
11    |     ^^^^^^^^^^^^^^
12
13 error: not in the table
14   --> $DIR/effective_visibilities.rs:9:9
15    |
16 LL |         extern "C" {}
17    |         ^^^^^^^^^^^^^
18
19 error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
20   --> $DIR/effective_visibilities.rs:12:9
21    |
22 LL |         pub trait PubTrait {
23    |         ^^^^^^^^^^^^^^^^^^
24
25 error: Direct: pub(self), Reexported: pub(self), Reachable: pub(self), ReachableThroughImplTrait: pub(self)
26   --> $DIR/effective_visibilities.rs:20:9
27    |
28 LL |         struct PrivStruct;
29    |         ^^^^^^^^^^^^^^^^^
30
31 error: Direct: pub(self), Reexported: pub(self), Reachable: pub(self), ReachableThroughImplTrait: pub(self)
32   --> $DIR/effective_visibilities.rs:20:9
33    |
34 LL |         struct PrivStruct;
35    |         ^^^^^^^^^^^^^^^^^
36
37 error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
38   --> $DIR/effective_visibilities.rs:24:9
39    |
40 LL |         pub union PubUnion {
41    |         ^^^^^^^^^^^^^^^^^^
42
43 error: Direct: pub(self), Reexported: pub(self), Reachable: pub(self), ReachableThroughImplTrait: pub(self)
44   --> $DIR/effective_visibilities.rs:26:13
45    |
46 LL |             a: u8,
47    |             ^^^^^
48
49 error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
50   --> $DIR/effective_visibilities.rs:28:13
51    |
52 LL |             pub b: u8,
53    |             ^^^^^^^^^
54
55 error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
56   --> $DIR/effective_visibilities.rs:32:9
57    |
58 LL |         pub enum Enum {
59    |         ^^^^^^^^^^^^^
60
61 error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
62   --> $DIR/effective_visibilities.rs:34:13
63    |
64 LL |             A(
65    |             ^
66
67 error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
68   --> $DIR/effective_visibilities.rs:34:13
69    |
70 LL |             A(
71    |             ^
72
73 error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
74   --> $DIR/effective_visibilities.rs:37:17
75    |
76 LL |                 PubUnion,
77    |                 ^^^^^^^^
78
79 error: not in the table
80   --> $DIR/effective_visibilities.rs:43:5
81    |
82 LL |     macro_rules! none_macro {
83    |     ^^^^^^^^^^^^^^^^^^^^^^^
84
85 error: Direct: pub(self), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
86   --> $DIR/effective_visibilities.rs:49:5
87    |
88 LL |     macro_rules! public_macro {
89    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
90
91 error: Direct: pub(crate), Reexported: pub(crate), Reachable: pub, ReachableThroughImplTrait: pub
92   --> $DIR/effective_visibilities.rs:54:5
93    |
94 LL |     pub struct ReachableStruct {
95    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^
96
97 error: Direct: pub(crate), Reexported: pub(crate), Reachable: pub, ReachableThroughImplTrait: pub
98   --> $DIR/effective_visibilities.rs:56:9
99    |
100 LL |         pub a: u8,
101    |         ^^^^^^^^^
102
103 error: Direct: pub, Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
104   --> $DIR/effective_visibilities.rs:61:9
105    |
106 LL | pub use outer::inner1;
107    |         ^^^^^^^^^^^^^
108
109 error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
110   --> $DIR/effective_visibilities.rs:67:5
111    |
112 LL |     pub type HalfPublicImport = u8;
113    |     ^^^^^^^^^^^^^^^^^^^^^^^^^
114
115 error: Direct: pub(crate), Reexported: pub(crate), Reachable: pub(crate), ReachableThroughImplTrait: pub(crate)
116   --> $DIR/effective_visibilities.rs:70:5
117    |
118 LL |     pub(crate) const HalfPublicImport: u8 = 0;
119    |     ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
120
121 error: Direct: pub, Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
122   --> $DIR/effective_visibilities.rs:74:9
123    |
124 LL | pub use half_public_import::HalfPublicImport;
125    |         ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
126
127 error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
128   --> $DIR/effective_visibilities.rs:14:13
129    |
130 LL |             const A: i32;
131    |             ^^^^^^^^^^^^
132
133 error: Direct: pub(crate), Reexported: pub, Reachable: pub, ReachableThroughImplTrait: pub
134   --> $DIR/effective_visibilities.rs:16:13
135    |
136 LL |             type B;
137    |             ^^^^^^
138
139 error: aborting due to 23 previous errors
140