Skip to content

Encode/decode meta_name_values with non-string values #623

Closed
@brson

Description

@brson

ast::meta_item supports any literal as a value but the crate metadata encoder and decoder only knows how to deal with string values. This currently just means that crate attributes with non-string literal values, e.g. #[revision = 100u], will be silently lost.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-metadataArea: Crate metadata

    Type

    No type

    Projects

    No projects

    Milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions