1
1
error: trait `priv_trait::PrivTr` is private
2
2
--> $DIR/associated-item-privacy-type-binding.rs:11:13
3
3
|
4
- LL | let _: Box<PubTr<AssocTy = u8>>;
4
+ LL | let _: Box<dyn PubTr<AssocTy = u8>>;
5
5
| ^
6
6
...
7
7
LL | priv_trait::mac1!();
@@ -12,8 +12,8 @@ LL | priv_trait::mac1!();
12
12
error: trait `priv_trait::PrivTr` is private
13
13
--> $DIR/associated-item-privacy-type-binding.rs:11:16
14
14
|
15
- LL | let _: Box<PubTr<AssocTy = u8>>;
16
- | ^^^^^^^^^^^^^^^^^^^^^^^^
15
+ LL | let _: Box<dyn PubTr<AssocTy = u8>>;
16
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
17
17
...
18
18
LL | priv_trait::mac1!();
19
19
| -------------------- in this macro invocation
@@ -23,8 +23,8 @@ LL | priv_trait::mac1!();
23
23
error: trait `priv_trait::PrivTr` is private
24
24
--> $DIR/associated-item-privacy-type-binding.rs:14:31
25
25
|
26
- LL | type InSignatureTy2 = Box<PubTr<AssocTy = u8>>;
27
- | ^^^^^^^^^^^^^^^^^^^^^^^^
26
+ LL | type InSignatureTy2 = Box<dyn PubTr<AssocTy = u8>>;
27
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
28
28
...
29
29
LL | priv_trait::mac1!();
30
30
| -------------------- in this macro invocation
@@ -45,7 +45,7 @@ LL | priv_trait::mac1!();
45
45
error: trait `priv_trait::PrivTr` is private
46
46
--> $DIR/associated-item-privacy-type-binding.rs:20:13
47
47
|
48
- LL | let _: Box<PrivTr<AssocTy = u8>>;
48
+ LL | let _: Box<dyn PrivTr<AssocTy = u8>>;
49
49
| ^
50
50
...
51
51
LL | priv_trait::mac2!();
@@ -56,8 +56,8 @@ LL | priv_trait::mac2!();
56
56
error: trait `priv_trait::PrivTr` is private
57
57
--> $DIR/associated-item-privacy-type-binding.rs:20:16
58
58
|
59
- LL | let _: Box<PrivTr<AssocTy = u8>>;
60
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
59
+ LL | let _: Box<dyn PrivTr<AssocTy = u8>>;
60
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
61
61
...
62
62
LL | priv_trait::mac2!();
63
63
| -------------------- in this macro invocation
@@ -67,8 +67,8 @@ LL | priv_trait::mac2!();
67
67
error: trait `priv_trait::PrivTr` is private
68
68
--> $DIR/associated-item-privacy-type-binding.rs:23:31
69
69
|
70
- LL | type InSignatureTy1 = Box<PrivTr<AssocTy = u8>>;
71
- | ^^^^^^^^^^^^^^^^^^^^^^^^^
70
+ LL | type InSignatureTy1 = Box<dyn PrivTr<AssocTy = u8>>;
71
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
72
72
...
73
73
LL | priv_trait::mac2!();
74
74
| -------------------- in this macro invocation
@@ -89,7 +89,7 @@ LL | priv_trait::mac2!();
89
89
error: type `priv_parent_substs::Priv` is private
90
90
--> $DIR/associated-item-privacy-type-binding.rs:44:13
91
91
|
92
- LL | let _: Box<PubTrWithParam<AssocTy = u8>>;
92
+ LL | let _: Box<dyn PubTrWithParam<AssocTy = u8>>;
93
93
| ^
94
94
...
95
95
LL | priv_parent_substs::mac!();
@@ -100,8 +100,8 @@ LL | priv_parent_substs::mac!();
100
100
error: type `priv_parent_substs::Priv` is private
101
101
--> $DIR/associated-item-privacy-type-binding.rs:44:16
102
102
|
103
- LL | let _: Box<PubTrWithParam<AssocTy = u8>>;
104
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
103
+ LL | let _: Box<dyn PubTrWithParam<AssocTy = u8>>;
104
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
105
105
...
106
106
LL | priv_parent_substs::mac!();
107
107
| --------------------------- in this macro invocation
@@ -111,7 +111,7 @@ LL | priv_parent_substs::mac!();
111
111
error: type `priv_parent_substs::Priv` is private
112
112
--> $DIR/associated-item-privacy-type-binding.rs:47:13
113
113
|
114
- LL | let _: Box<PubTr<AssocTy = u8>>;
114
+ LL | let _: Box<dyn PubTr<AssocTy = u8>>;
115
115
| ^
116
116
...
117
117
LL | priv_parent_substs::mac!();
@@ -122,8 +122,8 @@ LL | priv_parent_substs::mac!();
122
122
error: type `priv_parent_substs::Priv` is private
123
123
--> $DIR/associated-item-privacy-type-binding.rs:47:16
124
124
|
125
- LL | let _: Box<PubTr<AssocTy = u8>>;
126
- | ^^^^^^^^^^^^^^^^^^^^^^^^
125
+ LL | let _: Box<dyn PubTr<AssocTy = u8>>;
126
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
127
127
...
128
128
LL | priv_parent_substs::mac!();
129
129
| --------------------------- in this macro invocation
@@ -133,8 +133,8 @@ LL | priv_parent_substs::mac!();
133
133
error: type `priv_parent_substs::Priv` is private
134
134
--> $DIR/associated-item-privacy-type-binding.rs:50:35
135
135
|
136
- LL | pub type InSignatureTy1 = Box<PubTrWithParam<AssocTy = u8>>;
137
- | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
136
+ LL | pub type InSignatureTy1 = Box<dyn PubTrWithParam<AssocTy = u8>>;
137
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
138
138
...
139
139
LL | priv_parent_substs::mac!();
140
140
| --------------------------- in this macro invocation
@@ -144,8 +144,8 @@ LL | priv_parent_substs::mac!();
144
144
error: type `priv_parent_substs::Priv` is private
145
145
--> $DIR/associated-item-privacy-type-binding.rs:52:35
146
146
|
147
- LL | pub type InSignatureTy2 = Box<PubTr<AssocTy = u8>>;
148
- | ^^^^^^^^^^^^^^^^^^^^^^^^
147
+ LL | pub type InSignatureTy2 = Box<dyn PubTr<AssocTy = u8>>;
148
+ | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^
149
149
...
150
150
LL | priv_parent_substs::mac!();
151
151
| --------------------------- in this macro invocation
0 commit comments