Skip to content

Use proc_macro's impl FromStr for Literal once Rust 1.53 is stable #287

Closed
@dtolnay

Description

@dtolnay

In #286, we implemented impl FromStr for Literal in terms of impl FromStr for TokenStream. The upstream PR rust-lang/rust#84717 adds a real impl FromStr for Literal to libproc_macro; we should use it once available in a release.

Metadata

Metadata

Assignees

No one assigned

    Labels

    No labels
    No labels

    Projects

    No projects

    Milestone

    No milestone

    Relationships

    None yet

    Development

    No branches or pull requests

    Issue actions