Debian Codegraph @

debian/rust-vendor/zerocopy-derive/tests/ui/late_compile_pass.stable.stderr

raw
1 warning: unused import: `zerocopy_renamed::KnownLayout`
2 --> $DIR/late_compile_pass.rs:15:5
3 |
4 15 | use zerocopy_renamed::KnownLayout;
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: `#[warn(unused_imports)]` (part of `#[warn(unused)]`) on by default
8
9 error[E0277]: the trait bound `NotZerocopy: zerocopy_renamed::TryFromBytes` is not satisfied
10 --> $DIR/late_compile_pass.rs:29:10
11 |
12 29 | #[derive(TryFromBytes)]
13 | ^^^^^^^^^^^^ unsatisfied trait bound
14 |
15 help: the trait `zerocopy_renamed::TryFromBytes` is not implemented for `NotZerocopy`
16 --> $DIR/../include.rs:48:5
17 |
18 48 | pub struct NotZerocopy<T = ()>(pub T);
19 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
20 = note: Consider adding `#[derive(TryFromBytes)]` to `NotZerocopy`
21 = help: the following other types implement trait `zerocopy_renamed::TryFromBytes`:
22 ()
23 (A, B)
24 (A, B, C)
25 (A, B, C, D)
26 (A, B, C, D, E)
27 (A, B, C, D, E, F)
28 (A, B, C, D, E, F, G)
29 (A, B, C, D, E, F, G, H)
30 and 156 others
31 = help: see issue #48214
32 = note: the full name for the type has been written to '/long-type-HASH.txt'
33 = note: consider using `--verbose` to print the full type name to the console
34 = note: this error originates in the derive macro `TryFromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
35
36 error[E0277]: the trait bound `NotZerocopy: zerocopy_renamed::TryFromBytes` is not satisfied
37 --> $DIR/late_compile_pass.rs:41:10
38 |
39 41 | #[derive(FromZeros)]
40 | ^^^^^^^^^ unsatisfied trait bound
41 |
42 help: the trait `zerocopy_renamed::TryFromBytes` is not implemented for `NotZerocopy`
43 --> $DIR/../include.rs:48:5
44 |
45 48 | pub struct NotZerocopy<T = ()>(pub T);
46 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
47 = note: Consider adding `#[derive(TryFromBytes)]` to `NotZerocopy`
48 = help: the following other types implement trait `zerocopy_renamed::TryFromBytes`:
49 ()
50 (A, B)
51 (A, B, C)
52 (A, B, C, D)
53 (A, B, C, D, E)
54 (A, B, C, D, E, F)
55 (A, B, C, D, E, F, G)
56 (A, B, C, D, E, F, G, H)
57 and 156 others
58 = help: see issue #48214
59 = note: the full name for the type has been written to '/long-type-HASH.txt'
60 = note: consider using `--verbose` to print the full type name to the console
61 = note: this error originates in the derive macro `FromZeros` (in Nightly builds, run with -Z macro-backtrace for more info)
62
63 error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied
64 --> $DIR/late_compile_pass.rs:41:10
65 |
66 41 | #[derive(FromZeros)]
67 | ^^^^^^^^^ unsatisfied trait bound
68 |
69 help: the trait `FromZeros` is not implemented for `NotZerocopy`
70 --> $DIR/../include.rs:48:5
71 |
72 48 | pub struct NotZerocopy<T = ()>(pub T);
73 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
74 = note: Consider adding `#[derive(FromZeros)]` to `NotZerocopy`
75 = help: the following other types implement trait `FromZeros`:
76 ()
77 (A, B)
78 (A, B, C)
79 (A, B, C, D)
80 (A, B, C, D, E)
81 (A, B, C, D, E, F)
82 (A, B, C, D, E, F, G)
83 (A, B, C, D, E, F, G, H)
84 and 143 others
85 = help: see issue #48214
86 = note: the full name for the type has been written to '/long-type-HASH.txt'
87 = note: consider using `--verbose` to print the full type name to the console
88 = note: this error originates in the derive macro `FromZeros` (in Nightly builds, run with -Z macro-backtrace for more info)
89
90 error[E0277]: the trait bound `NotZerocopy: zerocopy_renamed::TryFromBytes` is not satisfied
91 --> $DIR/late_compile_pass.rs:54:10
92 |
93 54 | #[derive(FromBytes)]
94 | ^^^^^^^^^ unsatisfied trait bound
95 |
96 help: the trait `zerocopy_renamed::TryFromBytes` is not implemented for `NotZerocopy`
97 --> $DIR/../include.rs:48:5
98 |
99 48 | pub struct NotZerocopy<T = ()>(pub T);
100 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
101 = note: Consider adding `#[derive(TryFromBytes)]` to `NotZerocopy`
102 = help: the following other types implement trait `zerocopy_renamed::TryFromBytes`:
103 ()
104 (A, B)
105 (A, B, C)
106 (A, B, C, D)
107 (A, B, C, D, E)
108 (A, B, C, D, E, F)
109 (A, B, C, D, E, F, G)
110 (A, B, C, D, E, F, G, H)
111 and 156 others
112 = help: see issue #48214
113 = note: the full name for the type has been written to '/long-type-HASH.txt'
114 = note: consider using `--verbose` to print the full type name to the console
115 = note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
116
117 error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied
118 --> $DIR/late_compile_pass.rs:54:10
119 |
120 54 | #[derive(FromBytes)]
121 | ^^^^^^^^^ unsatisfied trait bound
122 |
123 help: the trait `FromZeros` is not implemented for `NotZerocopy`
124 --> $DIR/../include.rs:48:5
125 |
126 48 | pub struct NotZerocopy<T = ()>(pub T);
127 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
128 = note: Consider adding `#[derive(FromZeros)]` to `NotZerocopy`
129 = help: the following other types implement trait `FromZeros`:
130 ()
131 (A, B)
132 (A, B, C)
133 (A, B, C, D)
134 (A, B, C, D, E)
135 (A, B, C, D, E, F)
136 (A, B, C, D, E, F, G)
137 (A, B, C, D, E, F, G, H)
138 and 143 others
139 = help: see issue #48214
140 = note: the full name for the type has been written to '/long-type-HASH.txt'
141 = note: consider using `--verbose` to print the full type name to the console
142 = note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
143
144 error[E0277]: the trait bound `NotZerocopy: zerocopy_renamed::FromBytes` is not satisfied
145 --> $DIR/late_compile_pass.rs:54:10
146 |
147 54 | #[derive(FromBytes)]
148 | ^^^^^^^^^ unsatisfied trait bound
149 |
150 help: the trait `zerocopy_renamed::FromBytes` is not implemented for `NotZerocopy`
151 --> $DIR/../include.rs:48:5
152 |
153 48 | pub struct NotZerocopy<T = ()>(pub T);
154 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
155 = note: Consider adding `#[derive(FromBytes)]` to `NotZerocopy`
156 = help: the following other types implement trait `zerocopy_renamed::FromBytes`:
157 ()
158 (A, B)
159 (A, B, C)
160 (A, B, C, D)
161 (A, B, C, D, E)
162 (A, B, C, D, E, F)
163 (A, B, C, D, E, F, G)
164 (A, B, C, D, E, F, G, H)
165 and 80 others
166 = help: see issue #48214
167 = note: the full name for the type has been written to '/long-type-HASH.txt'
168 = note: consider using `--verbose` to print the full type name to the console
169 = note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
170
171 error[E0277]: the trait bound `NotZerocopy: zerocopy_renamed::IntoBytes` is not satisfied
172 --> $DIR/late_compile_pass.rs:70:10
173 |
174 70 | #[derive(IntoBytes)]
175 | ^^^^^^^^^ unsatisfied trait bound
176 |
177 help: the trait `zerocopy_renamed::IntoBytes` is not implemented for `NotZerocopy`
178 --> $DIR/../include.rs:48:5
179 |
180 48 | pub struct NotZerocopy<T = ()>(pub T);
181 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
182 = note: Consider adding `#[derive(IntoBytes)]` to `NotZerocopy`
183 = help: the following other types implement trait `zerocopy_renamed::IntoBytes`:
184 ()
185 AU16
186 AtomicBool
187 AtomicI16
188 AtomicI32
189 AtomicI64
190 AtomicI8
191 AtomicIsize
192 and 69 others
193 = help: see issue #48214
194 = note: this error originates in the derive macro `IntoBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
195
196 error[E0277]: the trait bound `AU16: zerocopy_renamed::Unaligned` is not satisfied
197 --> $DIR/late_compile_pass.rs:83:10
198 |
199 83 | #[derive(Unaligned)]
200 | ^^^^^^^^^ unsatisfied trait bound
201 |
202 help: the trait `zerocopy_renamed::Unaligned` is not implemented for `AU16`
203 --> $DIR/../include.rs:64:5
204 |
205 64 | pub struct AU16(pub u16);
206 | ^^^^^^^^^^^^^^^
207 = note: Consider adding `#[derive(Unaligned)]` to `AU16`
208 = help: the following other types implement trait `zerocopy_renamed::Unaligned`:
209 ()
210 AtomicBool
211 AtomicI8
212 AtomicU8
213 Cell<T>
214 F32<O>
215 F64<O>
216 I128<O>
217 and 29 others
218 = help: see issue #48214
219 = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
220
221 error[E0277]: the trait bound `AU16: zerocopy_renamed::Unaligned` is not satisfied
222 --> $DIR/late_compile_pass.rs:93:10
223 |
224 93 | #[derive(Unaligned)]
225 | ^^^^^^^^^ unsatisfied trait bound
226 |
227 help: the trait `zerocopy_renamed::Unaligned` is not implemented for `AU16`
228 --> $DIR/../include.rs:64:5
229 |
230 64 | pub struct AU16(pub u16);
231 | ^^^^^^^^^^^^^^^
232 = note: Consider adding `#[derive(Unaligned)]` to `AU16`
233 = help: the following other types implement trait `zerocopy_renamed::Unaligned`:
234 ()
235 AtomicBool
236 AtomicI8
237 AtomicU8
238 Cell<T>
239 F32<O>
240 F64<O>
241 I128<O>
242 and 29 others
243 = help: see issue #48214
244 = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
245
246 error[E0277]: the trait bound `AU16: zerocopy_renamed::Unaligned` is not satisfied
247 --> $DIR/late_compile_pass.rs:102:10
248 |
249 102 | #[derive(Unaligned)]
250 | ^^^^^^^^^ unsatisfied trait bound
251 |
252 help: the trait `zerocopy_renamed::Unaligned` is not implemented for `AU16`
253 --> $DIR/../include.rs:64:5
254 |
255 64 | pub struct AU16(pub u16);
256 | ^^^^^^^^^^^^^^^
257 = note: Consider adding `#[derive(Unaligned)]` to `AU16`
258 = help: the following other types implement trait `zerocopy_renamed::Unaligned`:
259 ()
260 AtomicBool
261 AtomicI8
262 AtomicU8
263 Cell<T>
264 F32<O>
265 F64<O>
266 I128<O>
267 and 29 others
268 = help: see issue #48214
269 = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
270
271 error[E0277]: the trait bound `NotZerocopy: zerocopy_renamed::FromBytes` is not satisfied
272 --> $DIR/late_compile_pass.rs:54:10
273 |
274 54 | #[derive(FromBytes)]
275 | ^^^^^^^^^ unsatisfied trait bound
276 |
277 help: the trait `zerocopy_renamed::FromBytes` is not implemented for `NotZerocopy`
278 --> $DIR/../include.rs:48:5
279 |
280 48 | pub struct NotZerocopy<T = ()>(pub T);
281 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
282 = note: Consider adding `#[derive(FromBytes)]` to `NotZerocopy`
283 = help: the following other types implement trait `zerocopy_renamed::FromBytes`:
284 ()
285 (A, B)
286 (A, B, C)
287 (A, B, C, D)
288 (A, B, C, D, E)
289 (A, B, C, D, E, F)
290 (A, B, C, D, E, F, G)
291 (A, B, C, D, E, F, G, H)
292 and 80 others
293 note: required for `FromBytes1` to implement `zerocopy_renamed::FromBytes`
294 --> $DIR/late_compile_pass.rs:54:10
295 |
296 54 | #[derive(FromBytes)]
297 | ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
298 note: required by a bound in `_::_::<impl zerocopy_renamed::TryFromBytes for FromBytes1>::is_bit_valid::assert_is_from_bytes`
299 --> $DIR/late_compile_pass.rs:54:10
300 |
301 54 | #[derive(FromBytes)]
302 | ^^^^^^^^^ required by this bound in `assert_is_from_bytes`
303 = note: the full name for the type has been written to '/long-type-HASH.txt'
304 = note: consider using `--verbose` to print the full type name to the console
305 = note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
306
307 error: aborting due to 11 previous errors; 1 warning emitted
308
309 For more information about this error, try `rustc --explain E0277`.