Debian Codegraph @

third_party/rust/zerocopy-derive/tests/ui-stable/late_compile_pass.stderr

raw
1 warning: unused import: `zerocopy::KnownLayout`
2 --> tests/ui-stable/late_compile_pass.rs:16:5
3 |
4 16 | use zerocopy::KnownLayout;
5 | ^^^^^^^^^^^^^^^^^^^^^
6 |
7 = note: `#[warn(unused_imports)]` on by default
8
9 error[E0277]: the trait bound `NotZerocopy: FromZeroes` is not satisfied
10 --> tests/ui-stable/late_compile_pass.rs:28:10
11 |
12 28 | #[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
28 error[E0277]: the trait bound `NotZerocopy: FromBytes` is not satisfied
29 --> tests/ui-stable/late_compile_pass.rs:37:10
30 |
31 37 | #[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
47 error[E0277]: the trait bound `FromBytes1: FromZeroes` is not satisfied
48 --> tests/ui-stable/late_compile_pass.rs:37:10
49 |
50 37 | #[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
63 note: 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
70 error[E0277]: the trait bound `NotZerocopy: AsBytes` is not satisfied
71 --> tests/ui-stable/late_compile_pass.rs:46:10
72 |
73 46 | #[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
89 error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
90 --> tests/ui-stable/late_compile_pass.rs:56:10
91 |
92 56 | #[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 U16<O>
103 U32<O>
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
108 error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
109 --> tests/ui-stable/late_compile_pass.rs:64:10
110 |
111 64 | #[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 U16<O>
122 U32<O>
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
127 error[E0277]: the trait bound `AU16: Unaligned` is not satisfied
128 --> tests/ui-stable/late_compile_pass.rs:71:10
129 |
130 71 | #[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 U16<O>
141 U32<O>
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)