thaler icon indicating copy to clipboard operation
thaler copied to clipboard

Problem: upgrade to parity-scale-codec 2.* fails

Open tomtau opened this issue 4 years ago • 0 comments

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`
...

tomtau avatar Jan 27 '21 01:01 tomtau