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