Skip to content

bool newtype does not compile #223

@rooooooooob

Description

@rooooooooob

CDDL:

bool_wrapper = bool ; @newtype

Compile error:

116 |         Ok(Self(raw.bool().map_err(Into::into)?))
    |                                    ^^^^^^^^^^ cannot infer type of the type parameter `T` declared on the trait `Into`

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions