thaler
thaler copied to clipboard
Problem: upgrade to parity-scale-codec 2.* fails
https://github.com/crypto-com/thaler/pull/2473/checks?check_run_id=1770462607#step:6:890
Error: --> chain-core/src/common/merkle_tree.rs:159:5
892
|
893
159 | fn encode_to<EncOut: Output>(&self, dest: &mut EncOut) {
894
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `EncOut: Sized`
895
896
error[E0276]: impl has stricter requirements than trait
897
Error: --> chain-core/src/common/merkle_tree.rs:201:5
898
|
899
201 | fn encode_to<EncOut: Output>(&self, dest: &mut EncOut) {
900
| ^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^^ impl has extra requirement `EncOut: Sized`
...