Debian Codegraph @

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

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