• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1warning: unused import: `zerocopy::KnownLayout`
2  --> tests/ui-nightly/late_compile_pass.rs:16:5
3   |
416 | use zerocopy::KnownLayout;
5   |     ^^^^^^^^^^^^^^^^^^^^^
6   |
7   = note: `#[warn(unused_imports)]` on by default
8
9error[E0277]: the trait bound `NotZerocopy: FromZeroes` is not satisfied
10  --> tests/ui-nightly/late_compile_pass.rs:28:10
11   |
1228 | #[derive(FromZeroes)]
13   |          ^^^^^^^^^^ the trait `FromZeroes` is not implemented for `NotZerocopy`
14   |
15   = help: the following other types implement trait `FromZeroes`:
16             ()
17             *const T
18             *mut T
19             AU16
20             F32<O>
21             F64<O>
22             FromZeroes1
23             I128<O>
24           and $N others
25   = help: see issue #48214
26   = note: this error originates in the derive macro `FromZeroes` (in Nightly builds, run with -Z macro-backtrace for more info)
27help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
28   |
299  + #![feature(trivial_bounds)]
30   |
31
32error[E0277]: the trait bound `NotZerocopy: FromBytes` is not satisfied
33  --> tests/ui-nightly/late_compile_pass.rs:37:10
34   |
3537 | #[derive(FromBytes)]
36   |          ^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy`
37   |
38   = help: the following other types implement trait `FromBytes`:
39             ()
40             AU16
41             F32<O>
42             F64<O>
43             FromBytes1
44             I128<O>
45             I16<O>
46             I32<O>
47           and $N others
48   = help: see issue #48214
49   = note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
50help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
51   |
529  + #![feature(trivial_bounds)]
53   |
54
55error[E0277]: the trait bound `FromBytes1: FromZeroes` is not satisfied
56  --> tests/ui-nightly/late_compile_pass.rs:37:10
57   |
5837 | #[derive(FromBytes)]
59   |          ^^^^^^^^^ the trait `FromZeroes` is not implemented for `FromBytes1`
60   |
61   = help: the following other types implement trait `FromZeroes`:
62             ()
63             *const T
64             *mut T
65             AU16
66             F32<O>
67             F64<O>
68             FromZeroes1
69             I128<O>
70           and $N others
71note: required by a bound in `FromBytes`
72  --> $WORKSPACE/src/lib.rs
73   |
74   | pub unsafe trait FromBytes: FromZeroes {
75   |                             ^^^^^^^^^^ required by this bound in `FromBytes`
76   = note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
77
78error[E0277]: the trait bound `NotZerocopy: AsBytes` is not satisfied
79  --> tests/ui-nightly/late_compile_pass.rs:46:10
80   |
8146 | #[derive(AsBytes)]
82   |          ^^^^^^^ the trait `AsBytes` is not implemented for `NotZerocopy`
83   |
84   = help: the following other types implement trait `AsBytes`:
85             ()
86             AU16
87             AsBytes1
88             F32<O>
89             F64<O>
90             I128<O>
91             I16<O>
92             I32<O>
93           and $N others
94   = help: see issue #48214
95   = note: this error originates in the derive macro `AsBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
96help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
97   |
989  + #![feature(trivial_bounds)]
99   |
100
101error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
102  --> tests/ui-nightly/late_compile_pass.rs:56:10
103   |
10456 | #[derive(Unaligned)]
105   |          ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16`
106   |
107   = help: the following other types implement trait `Unaligned`:
108             ()
109             F32<O>
110             F64<O>
111             I128<O>
112             I16<O>
113             I32<O>
114             I64<O>
115             ManuallyDrop<T>
116           and $N others
117   = help: see issue #48214
118   = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
119help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
120   |
1219  + #![feature(trivial_bounds)]
122   |
123
124error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
125  --> tests/ui-nightly/late_compile_pass.rs:64:10
126   |
12764 | #[derive(Unaligned)]
128   |          ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16`
129   |
130   = help: the following other types implement trait `Unaligned`:
131             ()
132             F32<O>
133             F64<O>
134             I128<O>
135             I16<O>
136             I32<O>
137             I64<O>
138             ManuallyDrop<T>
139           and $N others
140   = help: see issue #48214
141   = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
142help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
143   |
1449  + #![feature(trivial_bounds)]
145   |
146
147error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
148  --> tests/ui-nightly/late_compile_pass.rs:71:10
149   |
15071 | #[derive(Unaligned)]
151   |          ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16`
152   |
153   = help: the following other types implement trait `Unaligned`:
154             ()
155             F32<O>
156             F64<O>
157             I128<O>
158             I16<O>
159             I32<O>
160             I64<O>
161             ManuallyDrop<T>
162           and $N others
163   = help: see issue #48214
164   = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
165help: add `#![feature(trivial_bounds)]` to the crate attributes to enable
166   |
1679  + #![feature(trivial_bounds)]
168   |
169