Skip to content

Conversation

@ChayimFriedman2
Copy link
Contributor

Since the proc macro server no longer uses them (with a different span type).

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 28, 2025
Since the proc macro server no longer uses them (with a different span type).
Copy link
Member

@Veykril Veykril left a comment

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

Nice!

use crate::{HirFileId, MacroCallId, db::ExpandDatabase};

pub type ExpansionSpanMap = span::SpanMap<SyntaxContext>;
pub type ExpansionSpanMap = span::SpanMap;
Copy link
Member

Choose a reason for hiding this comment

The reason will be displayed to describe this comment to others. Learn more.

nit: Better served as a renaming re-export (next to RealSpanMap)

@Veykril Veykril added this pull request to the merge queue Dec 28, 2025
Merged via the queue into rust-lang:master with commit 1372157 Dec 28, 2025
15 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 28, 2025
@ChayimFriedman2 ChayimFriedman2 deleted the no-generic-span branch December 28, 2025 08:50
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.

4 participants