fork/rust
git clone https://git.julia.blue/fork/rust
8d69840ab92
1.43.1
1error[E0658]: use of unstable library feature 'unstable_undeclared' 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 | 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:30: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 `pub_and_stability::Record` is private 20 --> $DIR/explore-issue-38412.rs:31:5 21 | 22LL | r.b_crate; 23 | ^^^^^^^^^ 24 25error[E0616]: field `c_mod` of struct `pub_and_stability::Record` is private 26 --> $DIR/explore-issue-38412.rs:32:5 27 | 28LL | r.c_mod; 29 | ^^^^^^^ 30 31error[E0616]: field `d_priv` of struct `pub_and_stability::Record` is private 32 --> $DIR/explore-issue-38412.rs:33:5 33 | 34LL | r.d_priv; 35 | ^^^^^^^^ 36 37error[E0658]: use of unstable library feature 'unstable_undeclared' 38 --> $DIR/explore-issue-38412.rs:37: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:38:5 48 | 49LL | t.3; 50 | ^^^ 51 52error[E0616]: field `4` of struct `pub_and_stability::Tuple` is private 53 --> $DIR/explore-issue-38412.rs:39:5 54 | 55LL | t.4; 56 | ^^^ 57 58error[E0616]: field `5` of struct `pub_and_stability::Tuple` is private 59 --> $DIR/explore-issue-38412.rs:40:5 60 | 61LL | t.5; 62 | ^^^ 63 64error[E0658]: use of unstable library feature 'unstable_undeclared' 65 --> $DIR/explore-issue-38412.rs:44: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:48: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:50:7 84 | 85LL | r.pub_crate(); 86 | ^^^^^^^^^ 87 88error[E0624]: method `pub_mod` is private 89 --> $DIR/explore-issue-38412.rs:51:7 90 | 91LL | r.pub_mod(); 92 | ^^^^^^^ 93 94error[E0624]: method `private` is private 95 --> $DIR/explore-issue-38412.rs:52:7 96 | 97LL | r.private(); 98 | ^^^^^^^ 99 100error[E0658]: use of unstable library feature 'unstable_undeclared' 101 --> $DIR/explore-issue-38412.rs:57:7 102 | 103LL | t.unstable_undeclared_trait_method(); 104 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ 105 | 106 = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information 107 = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable 108 109error[E0658]: use of unstable library feature 'unstable_undeclared' 110 --> $DIR/explore-issue-38412.rs:61:7 111 | 112LL | t.unstable_undeclared(); 113 | ^^^^^^^^^^^^^^^^^^^ 114 | 115 = note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information 116 = help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable 117 118error[E0624]: method `pub_crate` is private 119 --> $DIR/explore-issue-38412.rs:63:7 120 | 121LL | t.pub_crate(); 122 | ^^^^^^^^^ 123 124error[E0624]: method `pub_mod` is private 125 --> $DIR/explore-issue-38412.rs:64:7 126 | 127LL | t.pub_mod(); 128 | ^^^^^^^ 129 130error[E0624]: method `private` is private 131 --> $DIR/explore-issue-38412.rs:65:7 132 | 133LL | t.private(); 134 | ^^^^^^^ 135 136error: aborting due to 19 previous errors 137 138Some errors have detailed explanations: E0616, E0624, E0658. 139For more information about an error, try `rustc --explain E0616`.