Skip to content

return line/column numbers relative to the macro call's beginning (instead of the file's beginning) in proc macros #19812

Open
@mr-adult

Description

@mr-adult

I'm opening a separate issue from my original issue for consideration. Providing line and column numbers relative to the proc macro start would help me do what I want in my simpleml_macro crate while maintaining good support in rust-analyzer.

Originally posted by @ChayimFriedman2 in #19032 (comment)

Activity

changed the title [-]return line/column numbers relative to the macro call's beginning (instead of the file's beginning) in process macros[/-] [+]return line/column numbers relative to the macro call's beginning (instead of the file's beginning) in proc macros[/+] on May 17, 2025
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

        Participants

        @mr-adult

        Issue actions

          return line/column numbers relative to the macro call's beginning (instead of the file's beginning) in proc macros · Issue #19812 · rust-lang/rust-analyzer