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

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

@tomtau

Description

@tomtau

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

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type
    No fields configured for issues without a type.

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions