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: Various find path fixes #17277

Merged
merged 3 commits into from
May 22, 2024
Merged

fix: Various find path fixes #17277

merged 3 commits into from
May 22, 2024

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented May 22, 2024

Fixes #17271

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label May 22, 2024
@Veykril Veykril force-pushed the find-path-fixes branch from e54791d to 760ad44 Compare May 22, 2024 12:46
crates/hir-def/src/find_path.rs Show resolved Hide resolved
Comment on lines 91 to +93
prefer_no_std: bool,
prefer_prelude: bool,
ignore_local_imports: bool,
Copy link
Contributor

Choose a reason for hiding this comment

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

i suspect that #17252 might help here: i found myself getting confused by the booleans in other contexts 😅

Copy link
Member Author

Choose a reason for hiding this comment

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

Right, guess I'll fix up the conflicts after merging this then 😬

Copy link
Member Author

Choose a reason for hiding this comment

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

Although that field is not meant to be public API like is the case with the other two.

@Veykril
Copy link
Member Author

Veykril commented May 22, 2024

@bors r+

@bors
Copy link
Contributor

bors commented May 22, 2024

📌 Commit 760ad44 has been approved by Veykril

It is now in the queue for this repository.

@bors
Copy link
Contributor

bors commented May 22, 2024

⌛ Testing commit 760ad44 with merge 6a16749...

@bors
Copy link
Contributor

bors commented May 22, 2024

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

@bors bors merged commit 6a16749 into rust-lang:master May 22, 2024
11 checks passed
@Veykril Veykril deleted the find-path-fixes branch May 22, 2024 18:49
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.

"rust-analyzer.imports.prefix": "plain" is ignored when importing items defined in subdirectories
4 participants