1 error[E0658]: use of unstable library feature 'unstable_undeclared'
2 --> $DIR/explore-issue-38412.rs:21:63
4 LL | let Record { a_stable_pub: _, a_unstable_declared_pub: _, a_unstable_undeclared_pub: _, .. } =
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7 = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
8 = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
10 error[E0658]: use of unstable library feature 'unstable_undeclared'
11 --> $DIR/explore-issue-38412.rs:30:5
13 LL | r.a_unstable_undeclared_pub;
14 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^
16 = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
17 = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
19 error[E0616]: field `b_crate` of struct `Record` is private
20 --> $DIR/explore-issue-38412.rs:31:7
23 | ^^^^^^^ private field
25 error[E0616]: field `c_mod` of struct `Record` is private
26 --> $DIR/explore-issue-38412.rs:32:7
31 error[E0616]: field `d_priv` of struct `Record` is private
32 --> $DIR/explore-issue-38412.rs:33:7
35 | ^^^^^^ private field
37 error[E0658]: use of unstable library feature 'unstable_undeclared'
38 --> $DIR/explore-issue-38412.rs:37:5
43 = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
44 = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
46 error[E0616]: field `3` of struct `Tuple` is private
47 --> $DIR/explore-issue-38412.rs:38:7
52 error[E0616]: field `4` of struct `Tuple` is private
53 --> $DIR/explore-issue-38412.rs:39:7
58 error[E0616]: field `5` of struct `Tuple` is private
59 --> $DIR/explore-issue-38412.rs:40:7
64 error[E0658]: use of unstable library feature 'unstable_undeclared'
65 --> $DIR/explore-issue-38412.rs:44:7
67 LL | r.unstable_undeclared_trait_method();
68 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
70 = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
71 = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
73 error[E0658]: use of unstable library feature 'unstable_undeclared'
74 --> $DIR/explore-issue-38412.rs:48:7
76 LL | r.unstable_undeclared();
79 = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
80 = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
82 error[E0624]: associated function `pub_crate` is private
83 --> $DIR/explore-issue-38412.rs:50:7
86 | ^^^^^^^^^ private associated function
88 ::: $DIR/auxiliary/pub-and-stability.rs:114:9
90 LL | pub(crate) fn pub_crate(&self) -> i32 { self.d_priv }
91 | ------------------------------------- private associated function defined here
93 error[E0624]: associated function `pub_mod` is private
94 --> $DIR/explore-issue-38412.rs:51:7
97 | ^^^^^^^ private associated function
99 ::: $DIR/auxiliary/pub-and-stability.rs:116:9
101 LL | pub(in m) fn pub_mod(&self) -> i32 { self.d_priv }
102 | ---------------------------------- private associated function defined here
104 error[E0624]: associated function `private` is private
105 --> $DIR/explore-issue-38412.rs:52:7
108 | ^^^^^^^ private associated function
110 ::: $DIR/auxiliary/pub-and-stability.rs:118:9
112 LL | fn private(&self) -> i32 { self.d_priv }
113 | ------------------------ private associated function defined here
115 error[E0658]: use of unstable library feature 'unstable_undeclared'
116 --> $DIR/explore-issue-38412.rs:57:7
118 LL | t.unstable_undeclared_trait_method();
119 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
121 = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
122 = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
124 error[E0658]: use of unstable library feature 'unstable_undeclared'
125 --> $DIR/explore-issue-38412.rs:61:7
127 LL | t.unstable_undeclared();
128 | ^^^^^^^^^^^^^^^^^^^
130 = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
131 = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
133 error[E0624]: associated function `pub_crate` is private
134 --> $DIR/explore-issue-38412.rs:63:7
137 | ^^^^^^^^^ private associated function
139 ::: $DIR/auxiliary/pub-and-stability.rs:129:9
141 LL | pub(crate) fn pub_crate(&self) -> i32 { self.0 }
142 | ------------------------------------- private associated function defined here
144 error[E0624]: associated function `pub_mod` is private
145 --> $DIR/explore-issue-38412.rs:64:7
148 | ^^^^^^^ private associated function
150 ::: $DIR/auxiliary/pub-and-stability.rs:130:9
152 LL | pub(in m) fn pub_mod(&self) -> i32 { self.0 }
153 | ---------------------------------- private associated function defined here
155 error[E0624]: associated function `private` is private
156 --> $DIR/explore-issue-38412.rs:65:7
159 | ^^^^^^^ private associated function
161 ::: $DIR/auxiliary/pub-and-stability.rs:131:9
163 LL | fn private(&self) -> i32 { self.0 }
164 | ------------------------ private associated function defined here
166 error: aborting due to 19 previous errors
168 Some errors have detailed explanations: E0616, E0624, E0658.
169 For more information about an error, try `rustc --explain E0616`.