-
Couldn't load subscription status.
- Fork 13.9k
Fix a regression in the configuration folder #34031
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
|
|
||
| fn fold_item(&mut self, item: P<ast::Item>) -> SmallVector<P<ast::Item>> { | ||
| self.configure(item).map(|item| SmallVector::one(item.map(|i| self.fold_item_simple(i)))) | ||
| self.configure(item).map(|item| fold::noop_fold_item(item, self)) |
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.
This is a pure uninlining refactoring -- c.f. noop_fold_item.
|
It would be nice to land this ASAP (cc @alexcrichton or @eddyb -- r?) |
|
@bors r+ |
|
📌 Commit 9639ec8 has been approved by |
|
@eddyb Thanks! |
|
💔 Test failed - auto-mac-32-opt |
|
@bors retry |
This fixes #34028, a regression caused by #33706 in which unconfigured impl items generated by a macro in an impl item position are not removed.
r? @nrc