]> git.lizzy.rs Git - rust.git/blob - tests/ui/privacy/associated-item-privacy-type-binding.stderr
Rollup merge of #107015 - cuviper:ra-riscv64, r=Mark-Simulacrum
[rust.git] / tests / ui / privacy / associated-item-privacy-type-binding.stderr
1 error: trait `PrivTr` is private
2   --> $DIR/associated-item-privacy-type-binding.rs:11:13
3    |
4 LL |         let _: Box<dyn PubTr<AssocTy = u8>>;
5    |             ^ private trait
6 ...
7 LL |     priv_trait::mac1!();
8    |     ------------------- in this macro invocation
9    |
10    = note: this error originates in the macro `priv_trait::mac1` (in Nightly builds, run with -Z macro-backtrace for more info)
11
12 error: trait `PrivTr` is private
13   --> $DIR/associated-item-privacy-type-binding.rs:11:16
14    |
15 LL |         let _: Box<dyn PubTr<AssocTy = u8>>;
16    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private trait
17 ...
18 LL |     priv_trait::mac1!();
19    |     ------------------- in this macro invocation
20    |
21    = note: this error originates in the macro `priv_trait::mac1` (in Nightly builds, run with -Z macro-backtrace for more info)
22
23 error: trait `PrivTr` is private
24   --> $DIR/associated-item-privacy-type-binding.rs:14:31
25    |
26 LL |         type InSignatureTy2 = Box<dyn PubTr<AssocTy = u8>>;
27    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private trait
28 ...
29 LL |     priv_trait::mac1!();
30    |     ------------------- in this macro invocation
31    |
32    = note: this error originates in the macro `priv_trait::mac1` (in Nightly builds, run with -Z macro-backtrace for more info)
33
34 error: trait `PrivTr` is private
35   --> $DIR/associated-item-privacy-type-binding.rs:16:31
36    |
37 LL |         trait InSignatureTr2: PubTr<AssocTy = u8> {}
38    |                               ^^^^^^^^^^^^^^^^^^^ private trait
39 ...
40 LL |     priv_trait::mac1!();
41    |     ------------------- in this macro invocation
42    |
43    = note: this error originates in the macro `priv_trait::mac1` (in Nightly builds, run with -Z macro-backtrace for more info)
44
45 error: trait `PrivTr` is private
46   --> $DIR/associated-item-privacy-type-binding.rs:20:13
47    |
48 LL |         let _: Box<dyn PrivTr<AssocTy = u8>>;
49    |             ^ private trait
50 ...
51 LL |     priv_trait::mac2!();
52    |     ------------------- in this macro invocation
53    |
54    = note: this error originates in the macro `priv_trait::mac2` (in Nightly builds, run with -Z macro-backtrace for more info)
55
56 error: trait `PrivTr` is private
57   --> $DIR/associated-item-privacy-type-binding.rs:20:16
58    |
59 LL |         let _: Box<dyn PrivTr<AssocTy = u8>>;
60    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private trait
61 ...
62 LL |     priv_trait::mac2!();
63    |     ------------------- in this macro invocation
64    |
65    = note: this error originates in the macro `priv_trait::mac2` (in Nightly builds, run with -Z macro-backtrace for more info)
66
67 error: trait `PrivTr` is private
68   --> $DIR/associated-item-privacy-type-binding.rs:23:31
69    |
70 LL |         type InSignatureTy1 = Box<dyn PrivTr<AssocTy = u8>>;
71    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private trait
72 ...
73 LL |     priv_trait::mac2!();
74    |     ------------------- in this macro invocation
75    |
76    = note: this error originates in the macro `priv_trait::mac2` (in Nightly builds, run with -Z macro-backtrace for more info)
77
78 error: trait `PrivTr` is private
79   --> $DIR/associated-item-privacy-type-binding.rs:25:31
80    |
81 LL |         trait InSignatureTr1: PrivTr<AssocTy = u8> {}
82    |                               ^^^^^^^^^^^^^^^^^^^^ private trait
83 ...
84 LL |     priv_trait::mac2!();
85    |     ------------------- in this macro invocation
86    |
87    = note: this error originates in the macro `priv_trait::mac2` (in Nightly builds, run with -Z macro-backtrace for more info)
88
89 error: type `Priv` is private
90   --> $DIR/associated-item-privacy-type-binding.rs:44:13
91    |
92 LL |         let _: Box<dyn PubTrWithParam<AssocTy = u8>>;
93    |             ^ private type
94 ...
95 LL |     priv_parent_substs::mac!();
96    |     -------------------------- in this macro invocation
97    |
98    = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
99
100 error: type `Priv` is private
101   --> $DIR/associated-item-privacy-type-binding.rs:44:16
102    |
103 LL |         let _: Box<dyn PubTrWithParam<AssocTy = u8>>;
104    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
105 ...
106 LL |     priv_parent_substs::mac!();
107    |     -------------------------- in this macro invocation
108    |
109    = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
110
111 error: type `Priv` is private
112   --> $DIR/associated-item-privacy-type-binding.rs:47:13
113    |
114 LL |         let _: Box<dyn PubTr<AssocTy = u8>>;
115    |             ^ private type
116 ...
117 LL |     priv_parent_substs::mac!();
118    |     -------------------------- in this macro invocation
119    |
120    = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
121
122 error: type `Priv` is private
123   --> $DIR/associated-item-privacy-type-binding.rs:47:16
124    |
125 LL |         let _: Box<dyn PubTr<AssocTy = u8>>;
126    |                ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
127 ...
128 LL |     priv_parent_substs::mac!();
129    |     -------------------------- in this macro invocation
130    |
131    = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
132
133 error: type `Priv` is private
134   --> $DIR/associated-item-privacy-type-binding.rs:50:35
135    |
136 LL |         pub type InSignatureTy1 = Box<dyn PubTrWithParam<AssocTy = u8>>;
137    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
138 ...
139 LL |     priv_parent_substs::mac!();
140    |     -------------------------- in this macro invocation
141    |
142    = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
143
144 error: type `Priv` is private
145   --> $DIR/associated-item-privacy-type-binding.rs:52:35
146    |
147 LL |         pub type InSignatureTy2 = Box<dyn PubTr<AssocTy = u8>>;
148    |                                   ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
149 ...
150 LL |     priv_parent_substs::mac!();
151    |     -------------------------- in this macro invocation
152    |
153    = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
154
155 error: type `Priv` is private
156   --> $DIR/associated-item-privacy-type-binding.rs:54:31
157    |
158 LL |         trait InSignatureTr1: PubTrWithParam<AssocTy = u8> {}
159    |                               ^^^^^^^^^^^^^^^^^^^^^^^^^^^^ private type
160 ...
161 LL |     priv_parent_substs::mac!();
162    |     -------------------------- in this macro invocation
163    |
164    = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
165
166 error: type `Priv` is private
167   --> $DIR/associated-item-privacy-type-binding.rs:56:31
168    |
169 LL |         trait InSignatureTr2: PubTr<AssocTy = u8> {}
170    |                               ^^^^^^^^^^^^^^^^^^^ private type
171 ...
172 LL |     priv_parent_substs::mac!();
173    |     -------------------------- in this macro invocation
174    |
175    = note: this error originates in the macro `priv_parent_substs::mac` (in Nightly builds, run with -Z macro-backtrace for more info)
176
177 error: aborting due to 16 previous errors
178