2022-09-21 15:57:30 +00:00
|
|
|
error: type `for<'a> fn(&'a priv_trait::Pub) {<priv_trait::Pub as PrivTr>::method}` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:15:21
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | let value = <Pub as PrivTr>::method;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_trait::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------------------ in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `priv_trait::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2022-09-21 15:57:30 +00:00
|
|
|
error: type `for<'a> fn(&'a priv_trait::Pub) {<priv_trait::Pub as PrivTr>::method}` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:17:9
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | value;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_trait::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------------------ in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `priv_trait::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2022-09-21 15:57:30 +00:00
|
|
|
error: type `for<'a> fn(&'a Self) {<Self as PrivTr>::method}` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:19:13
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | Pub.method();
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_trait::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------------------ in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `priv_trait::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2022-12-09 15:56:23 +00:00
|
|
|
error: associated constant `PrivTr::CONST` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:21:9
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | <Pub as PrivTr>::CONST;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ private associated constant
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_trait::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------------------ in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `priv_trait::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2022-12-09 15:56:23 +00:00
|
|
|
error: associated type `PrivTr::AssocTy` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:23:16
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | let _: <Pub as PrivTr>::AssocTy;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ private associated type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_trait::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------------------ in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `priv_trait::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2020-09-02 07:40:56 +00:00
|
|
|
error: trait `PrivTr` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:25:34
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | pub type InSignatureTy = <Pub as PrivTr>::AssocTy;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ private trait
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_trait::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------------------ in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `priv_trait::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2020-09-02 07:40:56 +00:00
|
|
|
error: trait `PrivTr` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:27:34
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | pub trait InSignatureTr: PrivTr {}
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^ private trait
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_trait::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------------------ in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `priv_trait::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 12:28:26 +00:00
|
|
|
|
2020-09-02 07:40:56 +00:00
|
|
|
error: trait `PrivTr` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:29:14
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | impl PrivTr for u8 {}
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^ private trait
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_trait::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------------------ in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00:00
|
|
|
= note: this error originates in the macro `priv_trait::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_signature::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:46:21
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | let value = <Pub as PubTr>::method;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_signature::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ---------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_signature::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:48:9
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | value;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_signature::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ---------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_signature::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:50:13
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | Pub.method(loop {});
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_signature::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ---------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:67:21
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | let value = <Pub as PubTr>::method::<Priv>;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:69:9
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | value;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:71:9
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | Pub.method::<Priv>();
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| ------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:91:21
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | let value = <Pub as PubTr>::method;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:93:9
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | value;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:95:21
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | let value = <Pub as PubTr<_>>::method;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:97:9
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | value;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:99:9
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | Pub.method();
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:102:21
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | let value = <Priv as PubTr<_>>::method;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:104:9
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | value;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:106:9
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | Priv.method();
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:109:9
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | <Pub as PubTr>::CONST;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:111:9
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | <Pub as PubTr<_>>::CONST;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:113:9
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | <Priv as PubTr<_>>::CONST;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:117:30
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | let _: <Pub as PubTr<_>>::AssocTy;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:119:17
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | let _: <Priv as PubTr<_>>::AssocTy;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:122:35
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | pub type InSignatureTy1 = <Pub as PubTr>::AssocTy;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:124:35
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | pub type InSignatureTy2 = <Priv as PubTr<Pub>>::AssocTy;
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
|
|
|
error: type `priv_parent_substs::Priv` is private
|
2021-04-03 11:05:11 +00:00
|
|
|
--> $DIR/associated-item-privacy-trait.rs:126:14
|
2018-08-08 12:28:26 +00:00
|
|
|
|
|
|
|
|
LL | impl PubTr for u8 {}
|
2020-03-22 22:36:54 +00:00
|
|
|
| ^^^^^ private type
|
2018-08-08 12:28:26 +00:00
|
|
|
...
|
|
|
|
LL | priv_parent_substs::mac!();
|
2021-10-14 18:28:28 +00:00
|
|
|
| -------------------------- in this macro invocation
|
2019-12-16 13:56:47 +00:00
|
|
|
|
|
2021-02-13 19:52:25 +00: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 12:28:26 +00:00
|
|
|
|
2019-06-13 19:36:15 +00:00
|
|
|
error: aborting due to 30 previous errors
|
2018-08-08 12:28:26 +00:00
|
|
|
|