Commit 5e113a3
committed
Flip
1.63 doesn't support deriving `PartialEq` on non-`Copy` packed structs
and will error out here because it doesn't realize `Copy` is added
later. Swapping the order of the derives resolves this issue and enables
us to derive `extra_traits` even on packed structs.
(backport <#4807>)
(cherry picked from commit 79d1bdb)Copy and PartialEq, Hash derives for packed struct support1 parent 0e379dc commit 5e113a3
1 file changed
+4
-4
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
154 | 154 | | |
155 | 155 | | |
156 | 156 | | |
157 | | - | |
158 | | - | |
159 | | - | |
160 | | - | |
161 | 157 | | |
162 | 158 | | |
163 | 159 | | |
164 | 160 | | |
165 | 161 | | |
| 162 | + | |
| 163 | + | |
| 164 | + | |
| 165 | + | |
166 | 166 | | |
167 | 167 | | |
168 | 168 | | |
| |||
0 commit comments