Skip to content
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

Make unreachable_pub an epoch lint #48760

Closed
wants to merge 1 commit into from

Conversation

Manishearth
Copy link
Member

@rust-highfive rust-highfive added the S-waiting-on-review Status: Awaiting review from the assignee but also interested parties. label Mar 5, 2018
@nikomatsakis
Copy link
Contributor

Do we want this to be an epoch lint? This is basically enabled by the new crate keyword, right? It seems like the use of pub vs crate is something we just want to encourage generally.

I admit to feeling somewhat confused about the "lint for epoch" story here.

cc @rust-lang/lang

@Manishearth
Copy link
Member Author

So am I, see #48796

We have two kinds of epoch lints, it's unclear how each should be handled

@Manishearth
Copy link
Member Author

Thinking about this more, neither this nor the dynamic trait lint should be epoch lints; instead, both should be normal lints perhaps under a "rust_2018_idioms" group. Only the keyword lint should be an epoch lint

@Manishearth
Copy link
Member Author

superseded by #48796

(we also changed what we were doing here)

@Manishearth Manishearth closed this Mar 9, 2018
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
S-waiting-on-review Status: Awaiting review from the assignee but also interested parties.
Projects
None yet
Development

Successfully merging this pull request may close these issues.

3 participants