2019-04-10 23:40:12 +00:00
|
|
|
error[E0658]: use of unstable library feature 'unstable_undeclared'
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:19:63
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
|
|
|
LL | let Record { a_stable_pub: _, a_unstable_declared_pub: _, a_unstable_undeclared_pub: _, .. } =
|
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2020-02-07 12:07:02 +00:00
|
|
|
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
|
2019-07-09 09:32:08 +00:00
|
|
|
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2019-04-10 23:40:12 +00:00
|
|
|
error[E0658]: use of unstable library feature 'unstable_undeclared'
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:28:5
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | r.a_unstable_undeclared_pub;
|
2018-12-02 19:42:43 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2020-02-07 12:07:02 +00:00
|
|
|
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
|
2019-07-09 09:32:08 +00:00
|
|
|
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2020-09-02 07:40:56 +00:00
|
|
|
error[E0616]: field `b_crate` of struct `Record` is private
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:29:7
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | r.b_crate;
|
2020-03-22 18:18:06 +00:00
|
|
|
| ^^^^^^^ private field
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2020-09-02 07:40:56 +00:00
|
|
|
error[E0616]: field `c_mod` of struct `Record` is private
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:30:7
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | r.c_mod;
|
2020-03-22 18:18:06 +00:00
|
|
|
| ^^^^^ private field
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2020-09-02 07:40:56 +00:00
|
|
|
error[E0616]: field `d_priv` of struct `Record` is private
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:31:7
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | r.d_priv;
|
2020-03-22 18:18:06 +00:00
|
|
|
| ^^^^^^ private field
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2019-04-10 23:40:12 +00:00
|
|
|
error[E0658]: use of unstable library feature 'unstable_undeclared'
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:35:5
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | t.2;
|
2018-12-02 19:42:43 +00:00
|
|
|
| ^^^
|
|
|
|
|
|
2020-02-07 12:07:02 +00:00
|
|
|
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
|
2019-07-09 09:32:08 +00:00
|
|
|
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2022-08-07 23:52:46 +00:00
|
|
|
error[E0616]: field `3` of struct `pub_and_stability::Tuple` is private
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:36:7
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | t.3;
|
2020-03-22 18:18:06 +00:00
|
|
|
| ^ private field
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2022-08-07 23:52:46 +00:00
|
|
|
error[E0616]: field `4` of struct `pub_and_stability::Tuple` is private
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:37:7
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | t.4;
|
2020-03-22 18:18:06 +00:00
|
|
|
| ^ private field
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2022-08-07 23:52:46 +00:00
|
|
|
error[E0616]: field `5` of struct `pub_and_stability::Tuple` is private
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:38:7
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | t.5;
|
2020-03-22 18:18:06 +00:00
|
|
|
| ^ private field
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2019-04-10 23:40:12 +00:00
|
|
|
error[E0658]: use of unstable library feature 'unstable_undeclared'
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:42:7
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | r.unstable_undeclared_trait_method();
|
2018-12-02 19:42:43 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2020-02-07 12:07:02 +00:00
|
|
|
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
|
2019-07-09 09:32:08 +00:00
|
|
|
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2019-04-10 23:40:12 +00:00
|
|
|
error[E0658]: use of unstable library feature 'unstable_undeclared'
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:46:7
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | r.unstable_undeclared();
|
2018-12-02 19:42:43 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2020-02-07 12:07:02 +00:00
|
|
|
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
|
2019-07-09 09:32:08 +00:00
|
|
|
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2023-02-21 21:11:08 +00:00
|
|
|
error[E0624]: method `pub_crate` is private
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:48:7
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | r.pub_crate();
|
2023-02-21 21:11:08 +00:00
|
|
|
| ^^^^^^^^^ private method
|
2021-06-10 11:52:00 +00:00
|
|
|
|
|
2021-07-17 18:13:50 +00:00
|
|
|
::: $DIR/auxiliary/pub-and-stability.rs:114:9
|
|
|
|
|
|
|
|
|
LL | pub(crate) fn pub_crate(&self) -> i32 { self.d_priv }
|
2023-02-21 21:11:08 +00:00
|
|
|
| ------------------------------------- private method defined here
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2023-02-21 21:11:08 +00:00
|
|
|
error[E0624]: method `pub_mod` is private
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:49:7
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | r.pub_mod();
|
2023-02-21 21:11:08 +00:00
|
|
|
| ^^^^^^^ private method
|
2021-06-10 11:52:00 +00:00
|
|
|
|
|
2021-07-17 18:13:50 +00:00
|
|
|
::: $DIR/auxiliary/pub-and-stability.rs:116:9
|
|
|
|
|
|
|
|
|
LL | pub(in m) fn pub_mod(&self) -> i32 { self.d_priv }
|
2023-02-21 21:11:08 +00:00
|
|
|
| ---------------------------------- private method defined here
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2023-02-21 21:11:08 +00:00
|
|
|
error[E0624]: method `private` is private
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:50:7
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | r.private();
|
2023-02-21 21:11:08 +00:00
|
|
|
| ^^^^^^^ private method
|
2021-06-10 11:52:00 +00:00
|
|
|
|
|
2021-07-17 18:13:50 +00:00
|
|
|
::: $DIR/auxiliary/pub-and-stability.rs:118:9
|
|
|
|
|
|
|
|
|
LL | fn private(&self) -> i32 { self.d_priv }
|
2023-02-21 21:11:08 +00:00
|
|
|
| ------------------------ private method defined here
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2019-04-10 23:40:12 +00:00
|
|
|
error[E0658]: use of unstable library feature 'unstable_undeclared'
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:55:7
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | t.unstable_undeclared_trait_method();
|
2018-12-02 19:42:43 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2020-02-07 12:07:02 +00:00
|
|
|
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
|
2019-07-09 09:32:08 +00:00
|
|
|
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2019-04-10 23:40:12 +00:00
|
|
|
error[E0658]: use of unstable library feature 'unstable_undeclared'
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:59:7
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | t.unstable_undeclared();
|
2018-12-02 19:42:43 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^
|
|
|
|
|
|
2020-02-07 12:07:02 +00:00
|
|
|
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
|
2019-07-09 09:32:08 +00:00
|
|
|
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2023-02-21 21:11:08 +00:00
|
|
|
error[E0624]: method `pub_crate` is private
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:61:7
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | t.pub_crate();
|
2023-02-21 21:11:08 +00:00
|
|
|
| ^^^^^^^^^ private method
|
2021-06-10 11:52:00 +00:00
|
|
|
|
|
2021-07-17 18:13:50 +00:00
|
|
|
::: $DIR/auxiliary/pub-and-stability.rs:129:9
|
|
|
|
|
|
|
|
|
LL | pub(crate) fn pub_crate(&self) -> i32 { self.0 }
|
2023-02-21 21:11:08 +00:00
|
|
|
| ------------------------------------- private method defined here
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2023-02-21 21:11:08 +00:00
|
|
|
error[E0624]: method `pub_mod` is private
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:62:7
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | t.pub_mod();
|
2023-02-21 21:11:08 +00:00
|
|
|
| ^^^^^^^ private method
|
2021-06-10 11:52:00 +00:00
|
|
|
|
|
2021-07-17 18:13:50 +00:00
|
|
|
::: $DIR/auxiliary/pub-and-stability.rs:130:9
|
|
|
|
|
|
|
|
|
LL | pub(in m) fn pub_mod(&self) -> i32 { self.0 }
|
2023-02-21 21:11:08 +00:00
|
|
|
| ---------------------------------- private method defined here
|
2018-12-02 19:42:43 +00:00
|
|
|
|
2023-02-21 21:11:08 +00:00
|
|
|
error[E0624]: method `private` is private
|
2022-01-19 15:24:49 +00:00
|
|
|
--> $DIR/explore-issue-38412.rs:63:7
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
2019-03-09 12:03:44 +00:00
|
|
|
LL | t.private();
|
2023-02-21 21:11:08 +00:00
|
|
|
| ^^^^^^^ private method
|
2021-06-10 11:52:00 +00:00
|
|
|
|
|
2021-07-17 18:13:50 +00:00
|
|
|
::: $DIR/auxiliary/pub-and-stability.rs:131:9
|
|
|
|
|
|
|
|
|
LL | fn private(&self) -> i32 { self.0 }
|
2023-02-21 21:11:08 +00:00
|
|
|
| ------------------------ private method defined here
|
2018-12-02 19:42:43 +00:00
|
|
|
|
|
|
|
error: aborting due to 19 previous errors
|
|
|
|
|
2019-04-17 17:26:38 +00:00
|
|
|
Some errors have detailed explanations: E0616, E0624, E0658.
|
2018-12-02 19:42:43 +00:00
|
|
|
For more information about an error, try `rustc --explain E0616`.
|