Skip to content

Convert Span to proc_macro::Span #35

Closed
@antoyo

Description

@antoyo

Hi.
It would be useful to be able to convert a proc_macro2::Span to a proc_macro::Span.
For instance, this will allow to create Diagnostics with Span.
Thank you to add a From implementation for unstable only or something along these lines.

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