Skip to content

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

Merged
merged 1 commit into from Sep 20, 2015
Merged

Miscellaneous cleanup for old issues. #28532

merged 1 commit into from Sep 20, 2015

Conversation

ghost
Copy link

@ghost ghost commented Sep 20, 2015

As the title says, just cleaning up some old stuff.

@rust-highfive
Copy link
Contributor

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
Copy link
Member

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.

Copy link
Author

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).

Copy link
Member

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.

@bluss
Copy link
Member

bluss commented Sep 20, 2015

The rest looks good to me! Nice work to clean up all those small old items.

@bluss
Copy link
Member

bluss commented Sep 20, 2015

a reviewer can r=me with the one inline comment addressed.

@bluss
Copy link
Member

bluss commented Sep 20, 2015

@bors r+

thank you!

@bors
Copy link
Collaborator

bors commented Sep 20, 2015

📌 Commit 140e2d3 has been approved by bluss

@bors
Copy link
Collaborator

bors commented Sep 20, 2015

⌛ Testing commit 140e2d3 with merge aed5c3a...

bors added a commit that referenced this pull request Sep 20, 2015
As the title says, just cleaning up some old stuff.
@bors bors merged commit 140e2d3 into rust-lang:master Sep 20, 2015
@ghost ghost deleted the misc-fixes branch September 20, 2015 16:50
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.

4 participants