]>
Commit | Line | Data |
---|---|---|
48663c56 | 1 | error[E0658]: use of unstable library feature 'unstable_undeclared' |
0731742a XL |
2 | --> $DIR/explore-issue-38412.rs:21:63 |
3 | | | |
4 | LL | let Record { a_stable_pub: _, a_unstable_declared_pub: _, a_unstable_undeclared_pub: _, .. } = | |
5 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ | |
6 | | | |
74b04a01 | 7 | = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information |
416331ca | 8 | = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable |
0731742a | 9 | |
48663c56 | 10 | error[E0658]: use of unstable library feature 'unstable_undeclared' |
0731742a XL |
11 | --> $DIR/explore-issue-38412.rs:30:5 |
12 | | | |
532ac7d7 | 13 | LL | r.a_unstable_undeclared_pub; |
0731742a XL |
14 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
15 | | | |
74b04a01 | 16 | = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information |
416331ca | 17 | = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable |
0731742a | 18 | |
1b1a35ee | 19 | error[E0616]: field `b_crate` of struct `Record` is private |
ba9703b0 | 20 | --> $DIR/explore-issue-38412.rs:31:7 |
0731742a | 21 | | |
532ac7d7 | 22 | LL | r.b_crate; |
ba9703b0 | 23 | | ^^^^^^^ private field |
0731742a | 24 | |
1b1a35ee | 25 | error[E0616]: field `c_mod` of struct `Record` is private |
ba9703b0 | 26 | --> $DIR/explore-issue-38412.rs:32:7 |
0731742a | 27 | | |
532ac7d7 | 28 | LL | r.c_mod; |
ba9703b0 | 29 | | ^^^^^ private field |
0731742a | 30 | |
1b1a35ee | 31 | error[E0616]: field `d_priv` of struct `Record` is private |
ba9703b0 | 32 | --> $DIR/explore-issue-38412.rs:33:7 |
0731742a | 33 | | |
532ac7d7 | 34 | LL | r.d_priv; |
ba9703b0 | 35 | | ^^^^^^ private field |
0731742a | 36 | |
48663c56 | 37 | error[E0658]: use of unstable library feature 'unstable_undeclared' |
0731742a XL |
38 | --> $DIR/explore-issue-38412.rs:37:5 |
39 | | | |
532ac7d7 | 40 | LL | t.2; |
0731742a XL |
41 | | ^^^ |
42 | | | |
74b04a01 | 43 | = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information |
416331ca | 44 | = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable |
0731742a | 45 | |
1b1a35ee | 46 | error[E0616]: field `3` of struct `Tuple` is private |
ba9703b0 | 47 | --> $DIR/explore-issue-38412.rs:38:7 |
0731742a | 48 | | |
532ac7d7 | 49 | LL | t.3; |
ba9703b0 | 50 | | ^ private field |
0731742a | 51 | |
1b1a35ee | 52 | error[E0616]: field `4` of struct `Tuple` is private |
ba9703b0 | 53 | --> $DIR/explore-issue-38412.rs:39:7 |
0731742a | 54 | | |
532ac7d7 | 55 | LL | t.4; |
ba9703b0 | 56 | | ^ private field |
0731742a | 57 | |
1b1a35ee | 58 | error[E0616]: field `5` of struct `Tuple` is private |
ba9703b0 | 59 | --> $DIR/explore-issue-38412.rs:40:7 |
0731742a | 60 | | |
532ac7d7 | 61 | LL | t.5; |
ba9703b0 | 62 | | ^ private field |
0731742a | 63 | |
48663c56 | 64 | error[E0658]: use of unstable library feature 'unstable_undeclared' |
0731742a XL |
65 | --> $DIR/explore-issue-38412.rs:44:7 |
66 | | | |
532ac7d7 | 67 | LL | r.unstable_undeclared_trait_method(); |
0731742a XL |
68 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
69 | | | |
74b04a01 | 70 | = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information |
416331ca | 71 | = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable |
0731742a | 72 | |
48663c56 | 73 | error[E0658]: use of unstable library feature 'unstable_undeclared' |
0731742a XL |
74 | --> $DIR/explore-issue-38412.rs:48:7 |
75 | | | |
532ac7d7 | 76 | LL | r.unstable_undeclared(); |
0731742a XL |
77 | | ^^^^^^^^^^^^^^^^^^^ |
78 | | | |
74b04a01 | 79 | = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information |
416331ca | 80 | = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable |
0731742a | 81 | |
ba9703b0 | 82 | error[E0624]: associated function `pub_crate` is private |
0731742a XL |
83 | --> $DIR/explore-issue-38412.rs:50:7 |
84 | | | |
532ac7d7 | 85 | LL | r.pub_crate(); |
ba9703b0 | 86 | | ^^^^^^^^^ private associated function |
94222f64 | 87 | | |
136023e0 XL |
88 | ::: $DIR/auxiliary/pub-and-stability.rs:114:9 |
89 | | | |
90 | LL | pub(crate) fn pub_crate(&self) -> i32 { self.d_priv } | |
91 | | ------------------------------------- private associated function defined here | |
0731742a | 92 | |
ba9703b0 | 93 | error[E0624]: associated function `pub_mod` is private |
0731742a XL |
94 | --> $DIR/explore-issue-38412.rs:51:7 |
95 | | | |
532ac7d7 | 96 | LL | r.pub_mod(); |
ba9703b0 | 97 | | ^^^^^^^ private associated function |
94222f64 | 98 | | |
136023e0 XL |
99 | ::: $DIR/auxiliary/pub-and-stability.rs:116:9 |
100 | | | |
101 | LL | pub(in m) fn pub_mod(&self) -> i32 { self.d_priv } | |
102 | | ---------------------------------- private associated function defined here | |
0731742a | 103 | |
ba9703b0 | 104 | error[E0624]: associated function `private` is private |
0731742a XL |
105 | --> $DIR/explore-issue-38412.rs:52:7 |
106 | | | |
532ac7d7 | 107 | LL | r.private(); |
ba9703b0 | 108 | | ^^^^^^^ private associated function |
94222f64 | 109 | | |
136023e0 XL |
110 | ::: $DIR/auxiliary/pub-and-stability.rs:118:9 |
111 | | | |
112 | LL | fn private(&self) -> i32 { self.d_priv } | |
113 | | ------------------------ private associated function defined here | |
0731742a | 114 | |
48663c56 | 115 | error[E0658]: use of unstable library feature 'unstable_undeclared' |
0731742a XL |
116 | --> $DIR/explore-issue-38412.rs:57:7 |
117 | | | |
532ac7d7 | 118 | LL | t.unstable_undeclared_trait_method(); |
0731742a XL |
119 | | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ |
120 | | | |
74b04a01 | 121 | = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information |
416331ca | 122 | = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable |
0731742a | 123 | |
48663c56 | 124 | error[E0658]: use of unstable library feature 'unstable_undeclared' |
0731742a XL |
125 | --> $DIR/explore-issue-38412.rs:61:7 |
126 | | | |
532ac7d7 | 127 | LL | t.unstable_undeclared(); |
0731742a XL |
128 | | ^^^^^^^^^^^^^^^^^^^ |
129 | | | |
74b04a01 | 130 | = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information |
416331ca | 131 | = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable |
0731742a | 132 | |
ba9703b0 | 133 | error[E0624]: associated function `pub_crate` is private |
0731742a XL |
134 | --> $DIR/explore-issue-38412.rs:63:7 |
135 | | | |
532ac7d7 | 136 | LL | t.pub_crate(); |
ba9703b0 | 137 | | ^^^^^^^^^ private associated function |
94222f64 | 138 | | |
136023e0 XL |
139 | ::: $DIR/auxiliary/pub-and-stability.rs:129:9 |
140 | | | |
141 | LL | pub(crate) fn pub_crate(&self) -> i32 { self.0 } | |
142 | | ------------------------------------- private associated function defined here | |
0731742a | 143 | |
ba9703b0 | 144 | error[E0624]: associated function `pub_mod` is private |
0731742a XL |
145 | --> $DIR/explore-issue-38412.rs:64:7 |
146 | | | |
532ac7d7 | 147 | LL | t.pub_mod(); |
ba9703b0 | 148 | | ^^^^^^^ private associated function |
94222f64 | 149 | | |
136023e0 XL |
150 | ::: $DIR/auxiliary/pub-and-stability.rs:130:9 |
151 | | | |
152 | LL | pub(in m) fn pub_mod(&self) -> i32 { self.0 } | |
153 | | ---------------------------------- private associated function defined here | |
0731742a | 154 | |
ba9703b0 | 155 | error[E0624]: associated function `private` is private |
0731742a XL |
156 | --> $DIR/explore-issue-38412.rs:65:7 |
157 | | | |
532ac7d7 | 158 | LL | t.private(); |
ba9703b0 | 159 | | ^^^^^^^ private associated function |
94222f64 | 160 | | |
136023e0 XL |
161 | ::: $DIR/auxiliary/pub-and-stability.rs:131:9 |
162 | | | |
163 | LL | fn private(&self) -> i32 { self.0 } | |
164 | | ------------------------ private associated function defined here | |
0731742a XL |
165 | |
166 | error: aborting due to 19 previous errors | |
167 | ||
48663c56 | 168 | Some errors have detailed explanations: E0616, E0624, E0658. |
0731742a | 169 | For more information about an error, try `rustc --explain E0616`. |