1- error: type `(dyn priv_trait::PubTr<AssocTy=u8> + '<empty>) ` is private
1+ error: trait ` priv_trait::PrivTr ` is private
22 --> $DIR/associated-item-privacy-type-binding.rs:11:13
33 |
44LL | let _: Box<PubTr<AssocTy = u8>>;
@@ -7,7 +7,7 @@ LL | let _: Box<PubTr<AssocTy = u8>>;
77LL | priv_trait::mac1!();
88 | -------------------- in this macro invocation
99
10- error: type `(dyn priv_trait::PubTr<AssocTy=u8> + '<empty>) ` is private
10+ error: trait ` priv_trait::PrivTr ` is private
1111 --> $DIR/associated-item-privacy-type-binding.rs:11:16
1212 |
1313LL | let _: Box<PubTr<AssocTy = u8>>;
@@ -16,7 +16,7 @@ LL | let _: Box<PubTr<AssocTy = u8>>;
1616LL | priv_trait::mac1!();
1717 | -------------------- in this macro invocation
1818
19- error: type `(dyn priv_trait::PubTr<AssocTy=u8> + 'static) ` is private
19+ error: trait ` priv_trait::PrivTr ` is private
2020 --> $DIR/associated-item-privacy-type-binding.rs:14:31
2121 |
2222LL | type InSignatureTy2 = Box<PubTr<AssocTy = u8>>;
@@ -34,7 +34,7 @@ LL | trait InSignatureTr2: PubTr<AssocTy = u8> {}
3434LL | priv_trait::mac1!();
3535 | -------------------- in this macro invocation
3636
37- error: type `(dyn priv_trait::PrivTr<AssocTy=u8> + '<empty>) ` is private
37+ error: trait ` priv_trait::PrivTr` is private
3838 --> $DIR/associated-item-privacy-type-binding.rs:20:13
3939 |
4040LL | let _: Box<PrivTr<AssocTy = u8>>;
@@ -43,7 +43,7 @@ LL | let _: Box<PrivTr<AssocTy = u8>>;
4343LL | priv_trait::mac2!();
4444 | -------------------- in this macro invocation
4545
46- error: type `(dyn priv_trait::PrivTr<AssocTy=u8> + '<empty>) ` is private
46+ error: trait ` priv_trait::PrivTr` is private
4747 --> $DIR/associated-item-privacy-type-binding.rs:20:16
4848 |
4949LL | let _: Box<PrivTr<AssocTy = u8>>;
@@ -52,7 +52,7 @@ LL | let _: Box<PrivTr<AssocTy = u8>>;
5252LL | priv_trait::mac2!();
5353 | -------------------- in this macro invocation
5454
55- error: type `(dyn priv_trait::PrivTr<AssocTy=u8> + 'static) ` is private
55+ error: trait ` priv_trait::PrivTr` is private
5656 --> $DIR/associated-item-privacy-type-binding.rs:23:31
5757 |
5858LL | type InSignatureTy1 = Box<PrivTr<AssocTy = u8>>;
0 commit comments