Skip to content

feat: Make unqualified derive attributes flyimportable #10657

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

Merged
merged 1 commit into from
Oct 29, 2021

Conversation

Veykril
Copy link
Member

@Veykril Veykril commented Oct 28, 2021

UuwpKODbpB
Fixes #10052

@Veykril Veykril marked this pull request as ready for review October 29, 2021 12:44
Comment on lines +282 to +284
pub fn exported_proc_macros(&self) -> impl Iterator<Item = (MacroDefId, Name)> + '_ {
self.exported_proc_macros.iter().map(|(id, def)| (*id, def.name.clone()))
}
Copy link
Member Author

Choose a reason for hiding this comment

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

Unsure whether there is a better way to expose this info

@Veykril
Copy link
Member Author

Veykril commented Oct 29, 2021

bors r+

bors bot added a commit that referenced this pull request Oct 29, 2021
10657: feat: Make unqualified derive attributes flyimportable r=Veykril a=Veykril

![UuwpKODbpB](https://user-images.githubusercontent.com/3757771/139436613-1e6eb8fd-f591-4fca-9383-ff7408ee9b18.gif)
Fixes #10052

Co-authored-by: Lukas Wirth <[email protected]>
@bors
Copy link
Contributor

bors bot commented Oct 29, 2021

Canceled.

@Veykril
Copy link
Member Author

Veykril commented Oct 29, 2021

bors retry

@bors
Copy link
Contributor

bors bot commented Oct 29, 2021

@bors bors bot merged commit 7810823 into rust-lang:master Oct 29, 2021
@Veykril Veykril deleted the mac-compl branch October 29, 2021 13:13
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.

Auto-import derive macros
1 participant