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

fix: Resolve included files to their calling modules in IDE layer #17863

Merged
merged 1 commit into from
Aug 12, 2024

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Aug 12, 2024

Fixes #17390 at the expense of reporting duplicate diagnostics for modules that have includes in them when both the calling and called file are included.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Aug 12, 2024
@Veykril
Copy link
Member Author

Veykril commented Aug 12, 2024

@bors r+

@bors
Copy link
Collaborator

bors commented Aug 12, 2024

📌 Commit 2362975 has been approved by Veykril

It is now in the queue for this repository.

@Veykril Veykril changed the title Resolve included files to their calling modules in IDE layer fix: Resolve included files to their calling modules in IDE layer Aug 12, 2024
@bors
Copy link
Collaborator

bors commented Aug 12, 2024

⌛ Testing commit 2362975 with merge 5185324...

@bors
Copy link
Collaborator

bors commented Aug 12, 2024

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

@bors bors merged commit 5185324 into rust-lang:master Aug 12, 2024
11 checks passed
@Veykril Veykril deleted the include-diags branch August 12, 2024 12:33
bors added a commit that referenced this pull request Aug 13, 2024
internal: Remove unreachable logic for include token mapping

Turns out #17863 made this obsolete 🎉
bors added a commit that referenced this pull request Aug 13, 2024
internal: Remove unreachable logic for include token mapping

Turns out #17863 made this obsolete 🎉
lnicola pushed a commit to lnicola/rust that referenced this pull request Aug 13, 2024
…=Veykril

internal: Remove unreachable logic for include token mapping

Turns out rust-lang/rust-analyzer#17863 made this obsolete 🎉
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.

Files included using include!() macro in lib.rs are still unlinked-file
3 participants