Skip to content
New issue

Have a question about this project? Sign up for a free GitHub account to open an issue and contact its maintainers and the community.

By clicking “Sign up for GitHub”, you agree to our terms of service and privacy statement. We’ll occasionally send you account related emails.

Already on GitHub? Sign in to your account

feat: Allow navigation targets to be duplicated when the focus range lies in the macro definition site #16034

Merged
merged 1 commit into from Dec 6, 2023

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Dec 6, 2023

Code_KI1EfbAHRZ

Basically if a name of an item originates from the macro definition we now point to that as well as the creating macro call.

Big diff because I also made FileIds field private due to some debugging I had to do (having a searchable constructor makes things easier).

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Dec 6, 2023
@Veykril Veykril force-pushed the ide-macro-improvements branch 2 times, most recently from 11975e1 to 016638a Compare December 6, 2023 11:25
@Veykril
Copy link
Member Author

Veykril commented Dec 6, 2023

@bors r+

@bors
Copy link
Collaborator

bors commented Dec 6, 2023

📌 Commit 9cb13b6 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Collaborator

bors commented Dec 6, 2023

⌛ Testing commit 9cb13b6 with merge cc8faa6...

@bors
Copy link
Collaborator

bors commented Dec 6, 2023

☀️ Test successful - checks-actions
Approved by: Veykril
Pushing cc8faa6 to master...

@bors bors merged commit cc8faa6 into rust-lang:master Dec 6, 2023
10 checks passed
@Veykril Veykril deleted the ide-macro-improvements branch December 6, 2023 12:17
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

None yet

3 participants