-
Notifications
You must be signed in to change notification settings - Fork 13.3k
Miscellaneous cleanup for old issues. #28532
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
r? @aturon (rust_highfive has picked a reviewer for you, use r? to override) |
@@ -89,7 +89,6 @@ macro_rules! lint_initializer { | |||
/// Declare a static item of type `&'static Lint`. | |||
#[macro_export] | |||
macro_rules! declare_lint { | |||
// FIXME(#14660): deduplicate |
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.
I think this one can stay? Intention seems to be to reduce the duplication in the two cases.
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.
I removed it because it seems impossible to do so now, you can't place a pub
qualifier on a macro invocation (#22285).
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.
Ok, yep, the FIXME is obsoleted now.
The rest looks good to me! Nice work to clean up all those small old items. |
a reviewer can r=me with the one inline comment addressed. |
@bors r+ thank you! |
📌 Commit 140e2d3 has been approved by |
As the title says, just cleaning up some old stuff.
As the title says, just cleaning up some old stuff.