Skip to content

Conversation

@sshcrack
Copy link
Contributor

@sshcrack sshcrack commented Jan 6, 2026

This PR adds crates where the ADT was defined to the trait deref_chain, so imports will be properly suggested now.
I've also added a test to check for the desired behavior.

Sorry if there's something I've missed I'm new to this repo 😅

(Related #21413)

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 6, 2026
@rustbot

This comment has been minimized.

@sshcrack sshcrack changed the title fix(#21413): Suggest traits other than ones in the environment crate fix: Suggest traits other than ones in the environment crate Jan 6, 2026
Copy link
Member

@ShoyuVanilla ShoyuVanilla left a comment

Choose a reason for hiding this comment

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

Looks good to me. Thanks!

@ShoyuVanilla ShoyuVanilla added this pull request to the merge queue Jan 7, 2026
Merged via the queue into rust-lang:master with commit 870d845 Jan 7, 2026
15 checks passed
@rustbot rustbot removed the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Jan 7, 2026
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