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: fix some IDE functionality inside attribute macros #9180

Merged
merged 1 commit into from
Jun 8, 2021
Merged

fix: fix some IDE functionality inside attribute macros #9180

merged 1 commit into from
Jun 8, 2021

Conversation

jonas-schievink
Copy link
Contributor

@jonas-schievink jonas-schievink commented Jun 8, 2021

In SourceToDefCtx::find_container, we might encounter a container that has an attribute macro. We need to skip that item, instead of bailing out and creating an empty Resolver, otherwise all names in the macro stay unresolved.

Part of #9142

bors r+

@jonas-schievink
Copy link
Contributor Author

bors r+

@bors
Copy link
Contributor

bors bot commented Jun 8, 2021

@bors bors bot merged commit 4e3769f into rust-lang:master Jun 8, 2021
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.

1 participant