rust/src/test/ui/explore-issue-38412.stderr

140 lines
4.7 KiB
Plaintext
Raw Normal View History

2019-04-10 18:40:12 -05:00
error[E0658]: use of unstable library feature 'unstable_undeclared'
2018-12-25 09:56:47 -06:00
--> $DIR/explore-issue-38412.rs:21:63
|
LL | let Record { a_stable_pub: _, a_unstable_declared_pub: _, a_unstable_undeclared_pub: _, .. } =
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-02-07 06:07:02 -06:00
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: use of unstable library feature 'unstable_undeclared'
2018-12-25 09:56:47 -06:00
--> $DIR/explore-issue-38412.rs:30:5
|
2019-03-09 06:03:44 -06:00
LL | r.a_unstable_undeclared_pub;
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-02-07 06:07:02 -06:00
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
error[E0616]: field `b_crate` of struct `Record` is private
2020-03-22 13:18:06 -05:00
--> $DIR/explore-issue-38412.rs:31:7
|
2019-03-09 06:03:44 -06:00
LL | r.b_crate;
2020-03-22 13:18:06 -05:00
| ^^^^^^^ private field
error[E0616]: field `c_mod` of struct `Record` is private
2020-03-22 13:18:06 -05:00
--> $DIR/explore-issue-38412.rs:32:7
|
2019-03-09 06:03:44 -06:00
LL | r.c_mod;
2020-03-22 13:18:06 -05:00
| ^^^^^ private field
error[E0616]: field `d_priv` of struct `Record` is private
2020-03-22 13:18:06 -05:00
--> $DIR/explore-issue-38412.rs:33:7
|
2019-03-09 06:03:44 -06:00
LL | r.d_priv;
2020-03-22 13:18:06 -05:00
| ^^^^^^ private field
2019-04-10 18:40:12 -05:00
error[E0658]: use of unstable library feature 'unstable_undeclared'
2018-12-25 09:56:47 -06:00
--> $DIR/explore-issue-38412.rs:37:5
|
2019-03-09 06:03:44 -06:00
LL | t.2;
| ^^^
|
2020-02-07 06:07:02 -06:00
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
error[E0616]: field `3` of struct `Tuple` is private
2020-03-22 13:18:06 -05:00
--> $DIR/explore-issue-38412.rs:38:7
|
2019-03-09 06:03:44 -06:00
LL | t.3;
2020-03-22 13:18:06 -05:00
| ^ private field
error[E0616]: field `4` of struct `Tuple` is private
2020-03-22 13:18:06 -05:00
--> $DIR/explore-issue-38412.rs:39:7
|
2019-03-09 06:03:44 -06:00
LL | t.4;
2020-03-22 13:18:06 -05:00
| ^ private field
error[E0616]: field `5` of struct `Tuple` is private
2020-03-22 13:18:06 -05:00
--> $DIR/explore-issue-38412.rs:40:7
|
2019-03-09 06:03:44 -06:00
LL | t.5;
2020-03-22 13:18:06 -05:00
| ^ private field
2019-04-10 18:40:12 -05:00
error[E0658]: use of unstable library feature 'unstable_undeclared'
2018-12-25 09:56:47 -06:00
--> $DIR/explore-issue-38412.rs:44:7
|
2019-03-09 06:03:44 -06:00
LL | r.unstable_undeclared_trait_method();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-02-07 06:07:02 -06:00
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: use of unstable library feature 'unstable_undeclared'
2018-12-25 09:56:47 -06:00
--> $DIR/explore-issue-38412.rs:48:7
|
2019-03-09 06:03:44 -06:00
LL | r.unstable_undeclared();
| ^^^^^^^^^^^^^^^^^^^
|
2020-02-07 06:07:02 -06:00
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
2020-03-04 21:03:15 -06:00
error[E0624]: associated function `pub_crate` is private
2018-12-25 09:56:47 -06:00
--> $DIR/explore-issue-38412.rs:50:7
|
2019-03-09 06:03:44 -06:00
LL | r.pub_crate();
| ^^^^^^^^^ private associated function
2020-03-04 21:03:15 -06:00
error[E0624]: associated function `pub_mod` is private
2018-12-25 09:56:47 -06:00
--> $DIR/explore-issue-38412.rs:51:7
|
2019-03-09 06:03:44 -06:00
LL | r.pub_mod();
| ^^^^^^^ private associated function
2020-03-04 21:03:15 -06:00
error[E0624]: associated function `private` is private
2018-12-25 09:56:47 -06:00
--> $DIR/explore-issue-38412.rs:52:7
|
2019-03-09 06:03:44 -06:00
LL | r.private();
| ^^^^^^^ private associated function
2019-04-10 18:40:12 -05:00
error[E0658]: use of unstable library feature 'unstable_undeclared'
2018-12-25 09:56:47 -06:00
--> $DIR/explore-issue-38412.rs:57:7
|
2019-03-09 06:03:44 -06:00
LL | t.unstable_undeclared_trait_method();
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
|
2020-02-07 06:07:02 -06:00
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
2019-04-10 18:40:12 -05:00
error[E0658]: use of unstable library feature 'unstable_undeclared'
2018-12-25 09:56:47 -06:00
--> $DIR/explore-issue-38412.rs:61:7
|
2019-03-09 06:03:44 -06:00
LL | t.unstable_undeclared();
| ^^^^^^^^^^^^^^^^^^^
|
2020-02-07 06:07:02 -06:00
= note: see issue #38412 <https://github.com/rust-lang/rust/issues/38412> for more information
= help: add `#![feature(unstable_undeclared)]` to the crate attributes to enable
2020-03-04 21:03:15 -06:00
error[E0624]: associated function `pub_crate` is private
2018-12-25 09:56:47 -06:00
--> $DIR/explore-issue-38412.rs:63:7
|
2019-03-09 06:03:44 -06:00
LL | t.pub_crate();
| ^^^^^^^^^ private associated function
2020-03-04 21:03:15 -06:00
error[E0624]: associated function `pub_mod` is private
2018-12-25 09:56:47 -06:00
--> $DIR/explore-issue-38412.rs:64:7
|
2019-03-09 06:03:44 -06:00
LL | t.pub_mod();
| ^^^^^^^ private associated function
2020-03-04 21:03:15 -06:00
error[E0624]: associated function `private` is private
2018-12-25 09:56:47 -06:00
--> $DIR/explore-issue-38412.rs:65:7
|
2019-03-09 06:03:44 -06:00
LL | t.private();
| ^^^^^^^ private associated function
error: aborting due to 19 previous errors
Some errors have detailed explanations: E0616, E0624, E0658.
For more information about an error, try `rustc --explain E0616`.