Skip to content

Conversation

1tgr
Copy link
Contributor

@1tgr 1tgr commented Mar 15, 2020

changelog: Add redundant_pub_crate lint

Closes #5274.

@flip1995 flip1995 added the S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status) label Mar 18, 2020
@1tgr 1tgr requested a review from flip1995 March 21, 2020 11:52
Copy link
Member

@flip1995 flip1995 left a comment

Choose a reason for hiding this comment

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

LGTM overall. The lint should be enabled by default IMO though.

/// }
/// ```
pub REDUNDANT_PUB_CRATE,
nursery,
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 you can put it in the style group.

Copy link
Member

Choose a reason for hiding this comment

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

You have to run cargo dev update_lints after changing the group.

@flip1995
Copy link
Member

You have to allow this lint in tests/ui/wildcard_imports.rs

@flip1995
Copy link
Member

Thanks!

@bors r+

@bors
Copy link
Contributor

bors commented Mar 23, 2020

📌 Commit 870b9e8 has been approved by flip1995

@bors
Copy link
Contributor

bors commented Mar 23, 2020

⌛ Testing commit 870b9e8 with merge d3989ee...

@bors
Copy link
Contributor

bors commented Mar 23, 2020

☀️ Test successful - checks-action_dev_test, checks-action_remark_test, checks-action_test
Approved by: flip1995
Pushing d3989ee to master...

Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-author Status: This is awaiting some action from the author. (Use `@rustbot ready` to update this status)
Projects
None yet
Development

Successfully merging this pull request may close these issues.

Lint on pub(crate) inside private mod
3 participants