Skip to content

Cannot derive conversion traits for Value #238

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

Activity

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment

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