1 error: trait `PrivTr` is private
2 --> $DIR/associated-item-privacy-type-binding.rs:11:13
4 LL | let _: Box<dyn PubTr<AssocTy = u8>>;
7 LL | priv_trait::mac1!();
8 | ------------------- in this macro invocation
10 = note: this error originates in the macro `priv_trait::mac1` (in Nightly builds, run with -Z macro-backtrace for more info)
12 error: trait `PrivTr` is private
13 --> $DIR/associated-item-privacy-type-binding.rs:11:16
15 LL | let _: Box<dyn PubTr<AssocTy = u8>>;
16 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private trait
18 LL | priv_trait::mac1!();
19 | ------------------- in this macro invocation
21 = note: this error originates in the macro `priv_trait::mac1` (in Nightly builds, run with -Z macro-backtrace for more info)
23 error: trait `PrivTr` is private
24 --> $DIR/associated-item-privacy-type-binding.rs:14:31
26 LL | type InSignatureTy2 = Box<dyn PubTr<AssocTy = u8>>;
27 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private trait
29 LL | priv_trait::mac1!();
30 | ------------------- in this macro invocation
32 = note: this error originates in the macro `priv_trait::mac1` (in Nightly builds, run with -Z macro-backtrace for more info)
34 error: trait `PrivTr` is private
35 --> $DIR/associated-item-privacy-type-binding.rs:16:31
37 LL | trait InSignatureTr2: PubTr<AssocTy = u8> {}
38 | ^^^^^^^^^^^^^^^^^^^ private trait
40 LL | priv_trait::mac1!();
41 | ------------------- in this macro invocation
43 = note: this error originates in the macro `priv_trait::mac1` (in Nightly builds, run with -Z macro-backtrace for more info)
45 error: trait `PrivTr` is private
46 --> $DIR/associated-item-privacy-type-binding.rs:20:13
48 LL | let _: Box<dyn PrivTr<AssocTy = u8>>;
51 LL | priv_trait::mac2!();
52 | ------------------- in this macro invocation
54 = note: this error originates in the macro `priv_trait::mac2` (in Nightly builds, run with -Z macro-backtrace for more info)
56 error: trait `PrivTr` is private
57 --> $DIR/associated-item-privacy-type-binding.rs:20:16
59 LL | let _: Box<dyn PrivTr<AssocTy = u8>>;
60 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private trait
62 LL | priv_trait::mac2!();
63 | ------------------- in this macro invocation
65 = note: this error originates in the macro `priv_trait::mac2` (in Nightly builds, run with -Z macro-backtrace for more info)
67 error: trait `PrivTr` is private
68 --> $DIR/associated-item-privacy-type-binding.rs:23:31
70 LL | type InSignatureTy1 = Box<dyn PrivTr<AssocTy = u8>>;
71 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private trait
73 LL | priv_trait::mac2!();
74 | ------------------- in this macro invocation
76 = note: this error originates in the macro `priv_trait::mac2` (in Nightly builds, run with -Z macro-backtrace for more info)
78 error: trait `PrivTr` is private
79 --> $DIR/associated-item-privacy-type-binding.rs:25:31
81 LL | trait InSignatureTr1: PrivTr<AssocTy = u8> {}
82 | ^^^^^^^^^^^^^^^^^^^^ private trait
84 LL | priv_trait::mac2!();
85 | ------------------- in this macro invocation
87 = note: this error originates in the macro `priv_trait::mac2` (in Nightly builds, run with -Z macro-backtrace for more info)
89 error: type `Priv` is private
90 --> $DIR/associated-item-privacy-type-binding.rs:44:13
92 LL | let _: Box<dyn PubTrWithParam<AssocTy = u8>>;
95 LL | priv_parent_substs::mac!();
96 | -------------------------- in this macro invocation
98 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
100 error: type `Priv` is private
101 --> $DIR/associated-item-privacy-type-binding.rs:44:16
103 LL | let _: Box<dyn PubTrWithParam<AssocTy = u8>>;
104 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
106 LL | priv_parent_substs::mac!();
107 | -------------------------- in this macro invocation
109 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
111 error: type `Priv` is private
112 --> $DIR/associated-item-privacy-type-binding.rs:47:13
114 LL | let _: Box<dyn PubTr<AssocTy = u8>>;
117 LL | priv_parent_substs::mac!();
118 | -------------------------- in this macro invocation
120 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
122 error: type `Priv` is private
123 --> $DIR/associated-item-privacy-type-binding.rs:47:16
125 LL | let _: Box<dyn PubTr<AssocTy = u8>>;
126 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
128 LL | priv_parent_substs::mac!();
129 | -------------------------- in this macro invocation
131 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
133 error: type `Priv` is private
134 --> $DIR/associated-item-privacy-type-binding.rs:50:35
136 LL | pub type InSignatureTy1 = Box<dyn PubTrWithParam<AssocTy = u8>>;
137 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
139 LL | priv_parent_substs::mac!();
140 | -------------------------- in this macro invocation
142 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
144 error: type `Priv` is private
145 --> $DIR/associated-item-privacy-type-binding.rs:52:35
147 LL | pub type InSignatureTy2 = Box<dyn PubTr<AssocTy = u8>>;
148 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
150 LL | priv_parent_substs::mac!();
151 | -------------------------- in this macro invocation
153 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
155 error: type `Priv` is private
156 --> $DIR/associated-item-privacy-type-binding.rs:54:31
158 LL | trait InSignatureTr1: PubTrWithParam<AssocTy = u8> {}
159 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
161 LL | priv_parent_substs::mac!();
162 | -------------------------- in this macro invocation
164 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
166 error: type `Priv` is private
167 --> $DIR/associated-item-privacy-type-binding.rs:56:31
169 LL | trait InSignatureTr2: PubTr<AssocTy = u8> {}
170 | ^^^^^^^^^^^^^^^^^^^ private type
172 LL | priv_parent_substs::mac!();
173 | -------------------------- in this macro invocation
175 = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
177 error: aborting due to 16 previous errors