Skip to content

Conversation

ogoffart
Copy link
Member

We need to know if two Span are adjacent to distinguish between foo-bar and foo - bar (one identifier, or a minus expression)

From Rust 1.88 it is possible to use the line and column information from Span.

The eventual goal is also to address #685 unfortunately, rust-analyzer still do not implement these in their macro server

…jacent

We need to know if two Span are adjacent to distinrguish between
`foo-bar` and `foo - bar`  (one identifier, or a minus expression)

From Rust 1.88 it is possible to use the line and column information
from Span.

The eventual goal is also to address #685
unfortunately, rust-analyzer still do not implement these in their macro
server
@ogoffart ogoffart requested a review from tronical September 12, 2025 12:22
@ogoffart ogoffart merged commit 13ce62d into master Sep 15, 2025
3 of 4 checks passed
@ogoffart ogoffart deleted the olivier/macro branch September 15, 2025 09:20
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants