error: type `for<'r> fn(&'r priv_trait::Pub) {::method}` is private --> $DIR/associated-item-privacy-trait.rs:27:21 | LL | let value = ::method; | ^^^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_trait::mac!(); | ------------------- in this macro invocation error: type `for<'r> fn(&'r priv_trait::Pub) {::method}` is private --> $DIR/associated-item-privacy-trait.rs:29:9 | LL | value; | ^^^^^ ... LL | priv_trait::mac!(); | ------------------- in this macro invocation error: type `for<'r> fn(&'r Self) {::method}` is private --> $DIR/associated-item-privacy-trait.rs:31:13 | LL | Pub.method(); | ^^^^^^ ... LL | priv_trait::mac!(); | ------------------- in this macro invocation error: associated constant `PrivTr::CONST` is private --> $DIR/associated-item-privacy-trait.rs:33:9 | LL | ::CONST; | ^^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_trait::mac!(); | ------------------- in this macro invocation error: trait `priv_trait::PrivTr` is private --> $DIR/associated-item-privacy-trait.rs:35:13 | LL | let _: ::AssocTy; | ^ ... LL | priv_trait::mac!(); | ------------------- in this macro invocation error: trait `priv_trait::PrivTr` is private --> $DIR/associated-item-privacy-trait.rs:35:16 | LL | let _: ::AssocTy; | ^^^^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_trait::mac!(); | ------------------- in this macro invocation error: trait `priv_trait::PrivTr` is private --> $DIR/associated-item-privacy-trait.rs:38:34 | LL | pub type InSignatureTy = ::AssocTy; | ^^^^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_trait::mac!(); | ------------------- in this macro invocation error: trait `priv_trait::PrivTr` is private --> $DIR/associated-item-privacy-trait.rs:40:34 | LL | pub trait InSignatureTr: PrivTr {} | ^^^^^^ ... LL | priv_trait::mac!(); | ------------------- in this macro invocation error: trait `priv_trait::PrivTr` is private --> $DIR/associated-item-privacy-trait.rs:42:14 | LL | impl PrivTr for u8 {} | ^^^^^^ ... LL | priv_trait::mac!(); | ------------------- in this macro invocation error: type `priv_signature::Priv` is private --> $DIR/associated-item-privacy-trait.rs:59:21 | LL | let value = ::method; | ^^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_signature::mac!(); | ----------------------- in this macro invocation error: type `priv_signature::Priv` is private --> $DIR/associated-item-privacy-trait.rs:61:9 | LL | value; | ^^^^^ ... LL | priv_signature::mac!(); | ----------------------- in this macro invocation error: type `priv_signature::Priv` is private --> $DIR/associated-item-privacy-trait.rs:63:13 | LL | Pub.method(loop {}); | ^^^^^^ ... LL | priv_signature::mac!(); | ----------------------- in this macro invocation error: type `priv_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:80:21 | LL | let value = ::method::; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_substs::mac!(); | -------------------- in this macro invocation error: type `priv_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:82:9 | LL | value; | ^^^^^ ... LL | priv_substs::mac!(); | -------------------- in this macro invocation error: type `priv_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:84:9 | LL | Pub.method::(); | ^^^^^^^^^^^^^^^^^^^^ ... LL | priv_substs::mac!(); | -------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:104:21 | LL | let value = ::method; | ^^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:106:9 | LL | value; | ^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:108:21 | LL | let value = >::method; | ^^^^^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:110:9 | LL | value; | ^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:112:9 | LL | Pub.method(); | ^^^^^^^^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:115:21 | LL | let value = >::method; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:117:9 | LL | value; | ^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:119:9 | LL | Priv.method(); | ^^^^^^^^^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:122:9 | LL | ::CONST; | ^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:124:9 | LL | >::CONST; | ^^^^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:126:9 | LL | >::CONST; | ^^^^^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:129:13 | LL | let _: ::AssocTy; | ^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:129:16 | LL | let _: ::AssocTy; | ^^^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:132:13 | LL | let _: >::AssocTy; | ^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:132:16 | LL | let _: >::AssocTy; | ^^^^^^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:135:13 | LL | let _: >::AssocTy; | ^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:135:16 | LL | let _: >::AssocTy; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:139:35 | LL | pub type InSignatureTy1 = ::AssocTy; | ^^^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:141:35 | LL | pub type InSignatureTy2 = >::AssocTy; | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: type `priv_parent_substs::Priv` is private --> $DIR/associated-item-privacy-trait.rs:143:14 | LL | impl PubTr for u8 {} | ^^^^^ ... LL | priv_parent_substs::mac!(); | --------------------------- in this macro invocation error: aborting due to 35 previous errors