Skip to content

Conversation

phyBrackets
Copy link

@phyBrackets phyBrackets commented Sep 8, 2025

Fixing issue #20574

The fix ensures the assist correctly appears for generic structs without existing Deref implementations while maintaining accuracy for non-generic types.

@rustbot rustbot added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Sep 8, 2025
@A4-Tacks
Copy link
Contributor

A4-Tacks commented Sep 8, 2025

It seems that hir::Type::impls_trait behavior has changed recently.
Previously, it always returned false for generic types, but now it always returns true

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.

3 participants