Skip to content
This repository has been archived by the owner on Jul 27, 2022. It is now read-only.

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

Open
tomtau opened this issue Jan 27, 2021 · 0 comments
Open

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

tomtau opened this issue Jan 27, 2021 · 0 comments

Comments

@tomtau
Copy link
Contributor

tomtau commented Jan 27, 2021

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`
...
Sign up for free to subscribe to this conversation on GitHub. Already have an account? Sign in.
Labels
None yet
Projects
None yet
Development

No branches or pull requests

1 participant