Skip to content

proc_macro does not have a constructor for byte literals #71358

Closed
@CAD97

Description

@CAD97

We have Literal::string(&str) for string literals, Literal::character(char) for character literals, and Literal::byte_string(&[u8]) for byte string literals, but no Literal::byte_character(u8) for byte literals.

Metadata

Metadata

Assignees

No one assigned

    Labels

    A-macrosArea: All kinds of macros (custom derive, macro_rules!, proc macros, ..)A-proc-macrosArea: Procedural macrosC-feature-requestCategory: A feature request, i.e: not implemented / a PR.T-libs-apiRelevant to the library API team, which will review and decide on the PR/issue.

    Type

    No type

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions