]> git.proxmox.com Git - rustc.git/blame - src/test/ui/explore-issue-38412.stderr
New upstream version 1.56.0~beta.4+dfsg1
[rustc.git] / src / test / ui / explore-issue-38412.stderr
CommitLineData
48663c56 1error[E0658]: use of unstable library feature 'unstable_undeclared'
0731742a
XL
2 --> $DIR/explore-issue-38412.rs:21:63
3 |
4LL | 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 10error[E0658]: use of unstable library feature 'unstable_undeclared'
0731742a
XL
11 --> $DIR/explore-issue-38412.rs:30:5
12 |
532ac7d7 13LL | 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 19error[E0616]: field `b_crate` of struct `Record` is private
ba9703b0 20 --> $DIR/explore-issue-38412.rs:31:7
0731742a 21 |
532ac7d7 22LL | r.b_crate;
ba9703b0 23 | ^^^^^^^ private field
0731742a 24
1b1a35ee 25error[E0616]: field `c_mod` of struct `Record` is private
ba9703b0 26 --> $DIR/explore-issue-38412.rs:32:7
0731742a 27 |
532ac7d7 28LL | r.c_mod;
ba9703b0 29 | ^^^^^ private field
0731742a 30
1b1a35ee 31error[E0616]: field `d_priv` of struct `Record` is private
ba9703b0 32 --> $DIR/explore-issue-38412.rs:33:7
0731742a 33 |
532ac7d7 34LL | r.d_priv;
ba9703b0 35 | ^^^^^^ private field
0731742a 36
48663c56 37error[E0658]: use of unstable library feature 'unstable_undeclared'
0731742a
XL
38 --> $DIR/explore-issue-38412.rs:37:5
39 |
532ac7d7 40LL | 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 46error[E0616]: field `3` of struct `Tuple` is private
ba9703b0 47 --> $DIR/explore-issue-38412.rs:38:7
0731742a 48 |
532ac7d7 49LL | t.3;
ba9703b0 50 | ^ private field
0731742a 51
1b1a35ee 52error[E0616]: field `4` of struct `Tuple` is private
ba9703b0 53 --> $DIR/explore-issue-38412.rs:39:7
0731742a 54 |
532ac7d7 55LL | t.4;
ba9703b0 56 | ^ private field
0731742a 57
1b1a35ee 58error[E0616]: field `5` of struct `Tuple` is private
ba9703b0 59 --> $DIR/explore-issue-38412.rs:40:7
0731742a 60 |
532ac7d7 61LL | t.5;
ba9703b0 62 | ^ private field
0731742a 63
48663c56 64error[E0658]: use of unstable library feature 'unstable_undeclared'
0731742a
XL
65 --> $DIR/explore-issue-38412.rs:44:7
66 |
532ac7d7 67LL | 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 73error[E0658]: use of unstable library feature 'unstable_undeclared'
0731742a
XL
74 --> $DIR/explore-issue-38412.rs:48:7
75 |
532ac7d7 76LL | 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 82error[E0624]: associated function `pub_crate` is private
0731742a
XL
83 --> $DIR/explore-issue-38412.rs:50:7
84 |
532ac7d7 85LL | r.pub_crate();
ba9703b0 86 | ^^^^^^^^^ private associated function
94222f64 87 |
136023e0
XL
88 ::: $DIR/auxiliary/pub-and-stability.rs:114:9
89 |
90LL | pub(crate) fn pub_crate(&self) -> i32 { self.d_priv }
91 | ------------------------------------- private associated function defined here
0731742a 92
ba9703b0 93error[E0624]: associated function `pub_mod` is private
0731742a
XL
94 --> $DIR/explore-issue-38412.rs:51:7
95 |
532ac7d7 96LL | r.pub_mod();
ba9703b0 97 | ^^^^^^^ private associated function
94222f64 98 |
136023e0
XL
99 ::: $DIR/auxiliary/pub-and-stability.rs:116:9
100 |
101LL | pub(in m) fn pub_mod(&self) -> i32 { self.d_priv }
102 | ---------------------------------- private associated function defined here
0731742a 103
ba9703b0 104error[E0624]: associated function `private` is private
0731742a
XL
105 --> $DIR/explore-issue-38412.rs:52:7
106 |
532ac7d7 107LL | r.private();
ba9703b0 108 | ^^^^^^^ private associated function
94222f64 109 |
136023e0
XL
110 ::: $DIR/auxiliary/pub-and-stability.rs:118:9
111 |
112LL | fn private(&self) -> i32 { self.d_priv }
113 | ------------------------ private associated function defined here
0731742a 114
48663c56 115error[E0658]: use of unstable library feature 'unstable_undeclared'
0731742a
XL
116 --> $DIR/explore-issue-38412.rs:57:7
117 |
532ac7d7 118LL | 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 124error[E0658]: use of unstable library feature 'unstable_undeclared'
0731742a
XL
125 --> $DIR/explore-issue-38412.rs:61:7
126 |
532ac7d7 127LL | 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 133error[E0624]: associated function `pub_crate` is private
0731742a
XL
134 --> $DIR/explore-issue-38412.rs:63:7
135 |
532ac7d7 136LL | t.pub_crate();
ba9703b0 137 | ^^^^^^^^^ private associated function
94222f64 138 |
136023e0
XL
139 ::: $DIR/auxiliary/pub-and-stability.rs:129:9
140 |
141LL | pub(crate) fn pub_crate(&self) -> i32 { self.0 }
142 | ------------------------------------- private associated function defined here
0731742a 143
ba9703b0 144error[E0624]: associated function `pub_mod` is private
0731742a
XL
145 --> $DIR/explore-issue-38412.rs:64:7
146 |
532ac7d7 147LL | t.pub_mod();
ba9703b0 148 | ^^^^^^^ private associated function
94222f64 149 |
136023e0
XL
150 ::: $DIR/auxiliary/pub-and-stability.rs:130:9
151 |
152LL | pub(in m) fn pub_mod(&self) -> i32 { self.0 }
153 | ---------------------------------- private associated function defined here
0731742a 154
ba9703b0 155error[E0624]: associated function `private` is private
0731742a
XL
156 --> $DIR/explore-issue-38412.rs:65:7
157 |
532ac7d7 158LL | t.private();
ba9703b0 159 | ^^^^^^^ private associated function
94222f64 160 |
136023e0
XL
161 ::: $DIR/auxiliary/pub-and-stability.rs:131:9
162 |
163LL | fn private(&self) -> i32 { self.0 }
164 | ------------------------ private associated function defined here
0731742a
XL
165
166error: aborting due to 19 previous errors
167
48663c56 168Some errors have detailed explanations: E0616, E0624, E0658.
0731742a 169For more information about an error, try `rustc --explain E0616`.