Skip to content

Cannot derive conversion traits for Value #238

@uncomputable

Description

@uncomputable

Because the constructors of Value return Arc<Value>, it is impossible to derive From implementations in a straightforward way.

impl From<u8> for Arc<Value> {
    | ^^^^^--------^^^^^----------
    | |    |            |
    | |    |            `Arc` is not defined in the current crate
    | |    `u8` is not defined in the current crate
    | impl doesn't use only types from inside the current crate

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