-
Notifications
You must be signed in to change notification settings - Fork 1.8k
feat: make trait assoc items become inactive due to cfg #12965
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
Conversation
Narrowed down the logic for ignoring the assoc items to rust-analyzer/crates/hir-def/src/data.rs Lines 475 to 484 in 1883d1f
|
Searching for |
@flodiebold Should I try to thread a diagnostics vec for all the functions that filter cfg'd fields? Is there a particular reason why fields are filtered at the AST stage, instead of the HIR stage like module items? |
There was a problem hiding this comment.
Choose a reason for hiding this comment
The reason will be displayed to describe this comment to others. Learn more.
Thanks! |
☀️ Test successful - checks-actions |
fixes #12394