Debian Codegraph @

debian/missing-sources/zerocopy-derive/tests/ui-nightly/derive_transparent.stderr

raw
1 error[E0277]: the trait bound `NotZerocopy: zerocopy_renamed::TryFromBytes` is not satisfied
2 --> tests/ui-nightly/derive_transparent.rs:35:23
3 |
4 35 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: TryFromBytes);
5 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
6 |
7 help: the trait `zerocopy_renamed::TryFromBytes` is not implemented for `NotZerocopy`
8 --> tests/ui-nightly/../include.rs
9 |
10 | pub struct NotZerocopy<T = ()>(pub T);
11 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
12 = note: Consider adding `#[derive(TryFromBytes)]` to `NotZerocopy`
13 = help: the following other types implement trait `zerocopy_renamed::TryFromBytes`:
14 ()
15 (A, B)
16 (A, B, C)
17 (A, B, C, D)
18 (A, B, C, D, E)
19 (A, B, C, D, E, F)
20 (A, B, C, D, E, F, G)
21 (A, B, C, D, E, F, G, H)
22 and $N others
23 note: required for `TransparentStruct<NotZerocopy>` to implement `zerocopy_renamed::TryFromBytes`
24 --> tests/ui-nightly/derive_transparent.rs:24:21
25 |
26 24 | #[derive(IntoBytes, FromBytes, Unaligned)]
27 | ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
28 note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
29 --> tests/ui-nightly/../include.rs
30 |
31 | ::static_assertions::assert_impl_all!($type: $($trait),+);
32 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all`
33 |
34 ::: tests/ui-nightly/derive_transparent.rs:35:1
35 |
36 35 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: TryFromBytes);
37 | ------------------------------------------------------------------- in this macro invocation
38 = note: this error originates in the derive macro `FromBytes` which comes from the expansion of the macro `util_assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
39
40 error[E0277]: the trait bound `NotZerocopy: FromZeros` is not satisfied
41 --> tests/ui-nightly/derive_transparent.rs:36:23
42 |
43 36 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeros);
44 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
45 |
46 help: the trait `FromZeros` is not implemented for `NotZerocopy`
47 --> tests/ui-nightly/../include.rs
48 |
49 | pub struct NotZerocopy<T = ()>(pub T);
50 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
51 = note: Consider adding `#[derive(FromZeros)]` to `NotZerocopy`
52 = help: the following other types implement trait `FromZeros`:
53 ()
54 (A, B)
55 (A, B, C)
56 (A, B, C, D)
57 (A, B, C, D, E)
58 (A, B, C, D, E, F)
59 (A, B, C, D, E, F, G)
60 (A, B, C, D, E, F, G, H)
61 and $N others
62 note: required for `TransparentStruct<NotZerocopy>` to implement `FromZeros`
63 --> tests/ui-nightly/derive_transparent.rs:24:21
64 |
65 24 | #[derive(IntoBytes, FromBytes, Unaligned)]
66 | ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
67 note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
68 --> tests/ui-nightly/../include.rs
69 |
70 | ::static_assertions::assert_impl_all!($type: $($trait),+);
71 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all`
72 |
73 ::: tests/ui-nightly/derive_transparent.rs:36:1
74 |
75 36 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: FromZeros);
76 | ---------------------------------------------------------------- in this macro invocation
77 = note: this error originates in the derive macro `FromBytes` which comes from the expansion of the macro `util_assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
78
79 error[E0277]: the trait bound `NotZerocopy: zerocopy_renamed::FromBytes` is not satisfied
80 --> tests/ui-nightly/derive_transparent.rs:37:23
81 |
82 37 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
83 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
84 |
85 help: the trait `zerocopy_renamed::FromBytes` is not implemented for `NotZerocopy`
86 --> tests/ui-nightly/../include.rs
87 |
88 | pub struct NotZerocopy<T = ()>(pub T);
89 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
90 = note: Consider adding `#[derive(FromBytes)]` to `NotZerocopy`
91 = help: the following other types implement trait `zerocopy_renamed::FromBytes`:
92 ()
93 (A, B)
94 (A, B, C)
95 (A, B, C, D)
96 (A, B, C, D, E)
97 (A, B, C, D, E, F)
98 (A, B, C, D, E, F, G)
99 (A, B, C, D, E, F, G, H)
100 and $N others
101 note: required for `TransparentStruct<NotZerocopy>` to implement `zerocopy_renamed::FromBytes`
102 --> tests/ui-nightly/derive_transparent.rs:24:21
103 |
104 24 | #[derive(IntoBytes, FromBytes, Unaligned)]
105 | ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
106 note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
107 --> tests/ui-nightly/../include.rs
108 |
109 | ::static_assertions::assert_impl_all!($type: $($trait),+);
110 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all`
111 |
112 ::: tests/ui-nightly/derive_transparent.rs:37:1
113 |
114 37 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: FromBytes);
115 | ---------------------------------------------------------------- in this macro invocation
116 = note: this error originates in the derive macro `FromBytes` which comes from the expansion of the macro `util_assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
117
118 error[E0277]: the trait bound `NotZerocopy: zerocopy_renamed::IntoBytes` is not satisfied
119 --> tests/ui-nightly/derive_transparent.rs:38:23
120 |
121 38 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: IntoBytes);
122 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
123 |
124 help: the trait `zerocopy_renamed::IntoBytes` is not implemented for `NotZerocopy`
125 --> tests/ui-nightly/../include.rs
126 |
127 | pub struct NotZerocopy<T = ()>(pub T);
128 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
129 = note: Consider adding `#[derive(IntoBytes)]` to `NotZerocopy`
130 = help: the following other types implement trait `zerocopy_renamed::IntoBytes`:
131 ()
132 AU16
133 AtomicBool
134 AtomicI16
135 AtomicI32
136 AtomicI64
137 AtomicI8
138 AtomicIsize
139 and $N others
140 note: required for `TransparentStruct<NotZerocopy>` to implement `zerocopy_renamed::IntoBytes`
141 --> tests/ui-nightly/derive_transparent.rs:24:10
142 |
143 24 | #[derive(IntoBytes, FromBytes, Unaligned)]
144 | ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
145 note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
146 --> tests/ui-nightly/../include.rs
147 |
148 | ::static_assertions::assert_impl_all!($type: $($trait),+);
149 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all`
150 |
151 ::: tests/ui-nightly/derive_transparent.rs:38:1
152 |
153 38 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: IntoBytes);
154 | ---------------------------------------------------------------- in this macro invocation
155 = note: this error originates in the derive macro `IntoBytes` which comes from the expansion of the macro `util_assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)
156
157 error[E0277]: the trait bound `NotZerocopy: zerocopy_renamed::Unaligned` is not satisfied
158 --> tests/ui-nightly/derive_transparent.rs:39:23
159 |
160 39 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: Unaligned);
161 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ unsatisfied trait bound
162 |
163 help: the trait `zerocopy_renamed::Unaligned` is not implemented for `NotZerocopy`
164 --> tests/ui-nightly/../include.rs
165 |
166 | pub struct NotZerocopy<T = ()>(pub T);
167 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^
168 = note: Consider adding `#[derive(Unaligned)]` to `NotZerocopy`
169 = help: the following other types implement trait `zerocopy_renamed::Unaligned`:
170 ()
171 AtomicBool
172 AtomicI8
173 AtomicU8
174 Cell<T>
175 F32<O>
176 F64<O>
177 I128<O>
178 and $N others
179 note: required for `TransparentStruct<NotZerocopy>` to implement `zerocopy_renamed::Unaligned`
180 --> tests/ui-nightly/derive_transparent.rs:24:32
181 |
182 24 | #[derive(IntoBytes, FromBytes, Unaligned)]
183 | ^^^^^^^^^ unsatisfied trait bound introduced in this `derive` macro
184 note: required by a bound in `_::{closure#0}::_::{closure#0}::assert_impl_all`
185 --> tests/ui-nightly/../include.rs
186 |
187 | ::static_assertions::assert_impl_all!($type: $($trait),+);
188 | ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ required by this bound in `assert_impl_all`
189 |
190 ::: tests/ui-nightly/derive_transparent.rs:39:1
191 |
192 39 | util_assert_impl_all!(TransparentStruct<NotZerocopy>: Unaligned);
193 | ---------------------------------------------------------------- in this macro invocation
194 = note: this error originates in the derive macro `Unaligned` which comes from the expansion of the macro `util_assert_impl_all` (in Nightly builds, run with -Z macro-backtrace for more info)