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