Commit 3190aa6
committed
Merge #72: Derive additional traits for error type
ab0c478 Bump version to 0.20.2-0.6.1 (Tobin C. Harding)
f115888 Derive additional traits for error type (Tobin C. Harding)
Pull request description:
The recent `0.20.2-0.6.0` release brakes the `rust-bitcoin` build. Epic fail by me for not testing that before pushing the release PR.
Back in February this year I must have been mad, commit:
`2bbfc28e754cb823576fe80bbfa96e2eea278173 Only derive Debug for error type`
removed all the derives from the error type except `Debug`. This makes the error type un-ergonomic to use downstream and breaks the `rust-bitcoin` build.
Fix by deriving what has become our standard set of derives for error types in the `rust-bitcoin` eccosystem. Also include `Copy` because this error is exhaustive.
ACKs for top commit:
apoelstra:
ACK ab0c478
Tree-SHA512: 2bcb639601cf7b1b587a644186ab0d91fe74a30724ed1f5120e6040acd2d21293f5235e652dc0b2cb9a1018134c995f3e9016cc6d09578847287a3aaaaed2d883 files changed
+6
-2
lines changed| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
| 1 | + | |
| 2 | + | |
| 3 | + | |
| 4 | + | |
1 | 5 | | |
2 | 6 | | |
3 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
1 | 1 | | |
2 | 2 | | |
3 | 3 | | |
4 | | - | |
| 4 | + | |
5 | 5 | | |
6 | 6 | | |
7 | 7 | | |
| |||
| Original file line number | Diff line number | Diff line change | |
|---|---|---|---|
| |||
167 | 167 | | |
168 | 168 | | |
169 | 169 | | |
170 | | - | |
| 170 | + | |
171 | 171 | | |
172 | 172 | | |
173 | 173 | | |
| |||
0 commit comments