• Home
  • Line#
  • Scopes#
  • Navigate#
  • Raw
  • Download
1warning: unused import: `zerocopy::KnownLayout`
2  --> tests/ui-stable/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-stable/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             bool
17             char
18             isize
19             i8
20             i16
21             i32
22             i64
23             i128
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)
27
28error[E0277]: the trait bound `NotZerocopy: FromBytes` is not satisfied
29  --> tests/ui-stable/late_compile_pass.rs:37:10
30   |
3137 | #[derive(FromBytes)]
32   |          ^^^^^^^^^ the trait `FromBytes` is not implemented for `NotZerocopy`
33   |
34   = help: the following other types implement trait `FromBytes`:
35             isize
36             i8
37             i16
38             i32
39             i64
40             i128
41             usize
42             u8
43           and $N others
44   = help: see issue #48214
45   = note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
46
47error[E0277]: the trait bound `FromBytes1: FromZeroes` is not satisfied
48  --> tests/ui-stable/late_compile_pass.rs:37:10
49   |
5037 | #[derive(FromBytes)]
51   |          ^^^^^^^^^ the trait `FromZeroes` is not implemented for `FromBytes1`
52   |
53   = help: the following other types implement trait `FromZeroes`:
54             bool
55             char
56             isize
57             i8
58             i16
59             i32
60             i64
61             i128
62           and $N others
63note: required by a bound in `FromBytes`
64  --> $WORKSPACE/src/lib.rs
65   |
66   | pub unsafe trait FromBytes: FromZeroes {
67   |                             ^^^^^^^^^^ required by this bound in `FromBytes`
68   = note: this error originates in the derive macro `FromBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
69
70error[E0277]: the trait bound `NotZerocopy: AsBytes` is not satisfied
71  --> tests/ui-stable/late_compile_pass.rs:46:10
72   |
7346 | #[derive(AsBytes)]
74   |          ^^^^^^^ the trait `AsBytes` is not implemented for `NotZerocopy`
75   |
76   = help: the following other types implement trait `AsBytes`:
77             bool
78             char
79             isize
80             i8
81             i16
82             i32
83             i64
84             i128
85           and $N others
86   = help: see issue #48214
87   = note: this error originates in the derive macro `AsBytes` (in Nightly builds, run with -Z macro-backtrace for more info)
88
89error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
90  --> tests/ui-stable/late_compile_pass.rs:56:10
91   |
9256 | #[derive(Unaligned)]
93   |          ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16`
94   |
95   = help: the following other types implement trait `Unaligned`:
96             bool
97             i8
98             u8
99             Unaligned1
100             Unaligned2
101             Unaligned3
102             NonZero<i8>
103             NonZero<u8>
104           and $N others
105   = help: see issue #48214
106   = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
107
108error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
109  --> tests/ui-stable/late_compile_pass.rs:64:10
110   |
11164 | #[derive(Unaligned)]
112   |          ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16`
113   |
114   = help: the following other types implement trait `Unaligned`:
115             bool
116             i8
117             u8
118             Unaligned1
119             Unaligned2
120             Unaligned3
121             NonZero<i8>
122             NonZero<u8>
123           and $N others
124   = help: see issue #48214
125   = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
126
127error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
128  --> tests/ui-stable/late_compile_pass.rs:71:10
129   |
13071 | #[derive(Unaligned)]
131   |          ^^^^^^^^^ the trait `Unaligned` is not implemented for `AU16`
132   |
133   = help: the following other types implement trait `Unaligned`:
134             bool
135             i8
136             u8
137             Unaligned1
138             Unaligned2
139             Unaligned3
140             NonZero<i8>
141             NonZero<u8>
142           and $N others
143   = help: see issue #48214
144   = note: this error originates in the derive macro `Unaligned` (in Nightly builds, run with -Z macro-backtrace for more info)
145