2022-09-21 10:57:30 -05:00
|
|
|
error: type `for<'a> fn(&'a priv_nominal::Pub) {priv_nominal::Pub::method}` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:13:21
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | let value = Pub::method;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^^^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_nominal::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| -------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_nominal::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2022-09-21 10:57:30 -05:00
|
|
|
error: type `for<'a> fn(&'a priv_nominal::Pub) {priv_nominal::Pub::method}` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:15:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | value;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_nominal::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| -------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_nominal::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
2022-09-21 10:57:30 -05:00
|
|
|
error: type `for<'a> fn(&'a priv_nominal::Pub) {priv_nominal::Pub::method}` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:17:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | Pub.method();
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_nominal::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| -------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_nominal::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: associated constant `CONST` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:19:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | Pub::CONST;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^^^^^^ private associated constant
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_nominal::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| -------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_nominal::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_signature::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:37:21
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | let value = Pub::method;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^^^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_signature::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| ---------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_signature::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_signature::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:39:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | value;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_signature::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| ---------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_signature::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_signature::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:41:13
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | Pub.method(loop {});
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_signature::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| ---------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_signature::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_substs::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:57:21
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | let value = Pub::method::<Priv>;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_substs::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| ------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_substs::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:59:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | value;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_substs::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| ------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_substs::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:61:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | Pub.method::<Priv>();
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_substs::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| ------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:80:21
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | let value = <Pub>::method;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^^^^^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:82:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | value;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:84:21
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | let value = Pub::method;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^^^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:86:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | value;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:88:21
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | let value = <Pub>::static_method;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:90:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | value;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:92:21
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | let value = Pub::static_method;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^^^^^^^^^^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:94:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | value;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:96:19
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | Pub(Priv).method();
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:99:10
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | <Pub>::CONST;
|
2020-03-22 17:36:54 -05:00
|
|
|
| ^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2018-12-25 09:56:47 -06:00
|
|
|
--> $DIR/associated-item-privacy-inherent.rs:101:9
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
|
LL | Pub::CONST;
|
2021-03-13 10:14:18 -06:00
|
|
|
| ^^^ private type
|
2018-08-08 07:28:26 -05:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 13:28:28 -05:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 07:56:47 -06:00
|
|
|
|
|
2021-02-13 13:52:25 -06:00
|
|
|
= note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 07:28:26 -05:00
|
|
|
|
|
|
|
error: aborting due to 21 previous errors
|
|
|
|
|