11error: trait `priv_trait::PrivTr` is private
22 --> $DIR/associated-item-privacy-type-binding.rs:11:13
33 |
4- LL | let _: Box<PubTr<AssocTy = u8>>;
4+ LL | let _: Box<dyn PubTr<AssocTy = u8>>;
55 | ^
66...
77LL | priv_trait::mac1!();
@@ -12,8 +12,8 @@ LL | priv_trait::mac1!();
1212error: trait `priv_trait::PrivTr` is private
1313 --> $DIR/associated-item-privacy-type-binding.rs:11:16
1414 |
15- LL | let _: Box<PubTr<AssocTy = u8>>;
16- | ^^^^^^^^^^^^^^^^^^^^^^^^
15+ LL | let _: Box<dyn PubTr<AssocTy = u8>>;
16+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
1717...
1818LL | priv_trait::mac1!();
1919 | -------------------- in this macro invocation
@@ -23,8 +23,8 @@ LL | priv_trait::mac1!();
2323error: trait `priv_trait::PrivTr` is private
2424 --> $DIR/associated-item-privacy-type-binding.rs:14:31
2525 |
26- LL | type InSignatureTy2 = Box<PubTr<AssocTy = u8>>;
27- | ^^^^^^^^^^^^^^^^^^^^^^^^
26+ LL | type InSignatureTy2 = Box<dyn PubTr<AssocTy = u8>>;
27+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
2828...
2929LL | priv_trait::mac1!();
3030 | -------------------- in this macro invocation
@@ -45,7 +45,7 @@ LL | priv_trait::mac1!();
4545error: trait `priv_trait::PrivTr` is private
4646 --> $DIR/associated-item-privacy-type-binding.rs:20:13
4747 |
48- LL | let _: Box<PrivTr<AssocTy = u8>>;
48+ LL | let _: Box<dyn PrivTr<AssocTy = u8>>;
4949 | ^
5050...
5151LL | priv_trait::mac2!();
@@ -56,8 +56,8 @@ LL | priv_trait::mac2!();
5656error: trait `priv_trait::PrivTr` is private
5757 --> $DIR/associated-item-privacy-type-binding.rs:20:16
5858 |
59- LL | let _: Box<PrivTr<AssocTy = u8>>;
60- | ^^^^^^^^^^^^^^^^^^^^^^^^^
59+ LL | let _: Box<dyn PrivTr<AssocTy = u8>>;
60+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6161...
6262LL | priv_trait::mac2!();
6363 | -------------------- in this macro invocation
@@ -67,8 +67,8 @@ LL | priv_trait::mac2!();
6767error: trait `priv_trait::PrivTr` is private
6868 --> $DIR/associated-item-privacy-type-binding.rs:23:31
6969 |
70- LL | type InSignatureTy1 = Box<PrivTr<AssocTy = u8>>;
71- | ^^^^^^^^^^^^^^^^^^^^^^^^^
70+ LL | type InSignatureTy1 = Box<dyn PrivTr<AssocTy = u8>>;
71+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
7272...
7373LL | priv_trait::mac2!();
7474 | -------------------- in this macro invocation
@@ -89,7 +89,7 @@ LL | priv_trait::mac2!();
8989error: type `priv_parent_substs::Priv` is private
9090 --> $DIR/associated-item-privacy-type-binding.rs:44:13
9191 |
92- LL | let _: Box<PubTrWithParam<AssocTy = u8>>;
92+ LL | let _: Box<dyn PubTrWithParam<AssocTy = u8>>;
9393 | ^
9494...
9595LL | priv_parent_substs::mac!();
@@ -100,8 +100,8 @@ LL | priv_parent_substs::mac!();
100100error: type `priv_parent_substs::Priv` is private
101101 --> $DIR/associated-item-privacy-type-binding.rs:44:16
102102 |
103- LL | let _: Box<PubTrWithParam<AssocTy = u8>>;
104- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103+ LL | let _: Box<dyn PubTrWithParam<AssocTy = u8>>;
104+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
105105...
106106LL | priv_parent_substs::mac!();
107107 | --------------------------- in this macro invocation
@@ -111,7 +111,7 @@ LL | priv_parent_substs::mac!();
111111error: type `priv_parent_substs::Priv` is private
112112 --> $DIR/associated-item-privacy-type-binding.rs:47:13
113113 |
114- LL | let _: Box<PubTr<AssocTy = u8>>;
114+ LL | let _: Box<dyn PubTr<AssocTy = u8>>;
115115 | ^
116116...
117117LL | priv_parent_substs::mac!();
@@ -122,8 +122,8 @@ LL | priv_parent_substs::mac!();
122122error: type `priv_parent_substs::Priv` is private
123123 --> $DIR/associated-item-privacy-type-binding.rs:47:16
124124 |
125- LL | let _: Box<PubTr<AssocTy = u8>>;
126- | ^^^^^^^^^^^^^^^^^^^^^^^^
125+ LL | let _: Box<dyn PubTr<AssocTy = u8>>;
126+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127127...
128128LL | priv_parent_substs::mac!();
129129 | --------------------------- in this macro invocation
@@ -133,8 +133,8 @@ LL | priv_parent_substs::mac!();
133133error: type `priv_parent_substs::Priv` is private
134134 --> $DIR/associated-item-privacy-type-binding.rs:50:35
135135 |
136- LL | pub type InSignatureTy1 = Box<PubTrWithParam<AssocTy = u8>>;
137- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
136+ LL | pub type InSignatureTy1 = Box<dyn PubTrWithParam<AssocTy = u8>>;
137+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
138138...
139139LL | priv_parent_substs::mac!();
140140 | --------------------------- in this macro invocation
@@ -144,8 +144,8 @@ LL | priv_parent_substs::mac!();
144144error: type `priv_parent_substs::Priv` is private
145145 --> $DIR/associated-item-privacy-type-binding.rs:52:35
146146 |
147- LL | pub type InSignatureTy2 = Box<PubTr<AssocTy = u8>>;
148- | ^^^^^^^^^^^^^^^^^^^^^^^^
147+ LL | pub type InSignatureTy2 = Box<dyn PubTr<AssocTy = u8>>;
148+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
149149...
150150LL | priv_parent_substs::mac!();
151151 | --------------------------- in this macro invocation
0 commit comments