Skip to content

Conversation

@matklad
Copy link
Contributor

@matklad matklad commented Nov 2, 2020

It's very useful when pub is equivalent to "this is crate's public
API", let's enforce this!

Ideally, we should enforce it for local cargo test, and only during
CI, but that needs rust-lang/cargo#5034.

@matklad matklad force-pushed the no-unreachable-pub branch from 0bdc697 to 7533c47 Compare November 2, 2020 12:47
It's very useful when `pub` is equivalent to "this is crate's public
API", let's enforce this!

Ideally, we should enforce it for local `cargo test`, and only during
CI, but that needs rust-lang/cargo#5034.
@matklad matklad force-pushed the no-unreachable-pub branch from 7533c47 to b610118 Compare November 2, 2020 13:07
@matklad
Copy link
Contributor Author

matklad commented Nov 2, 2020

Goinging to partially land this, and then finish later, hopeflly today!

bors r+

@bors
Copy link
Contributor

bors bot commented Nov 2, 2020

@bors bors bot merged commit 731b38f into rust-lang:master Nov 2, 2020
@matklad matklad deleted the no-unreachable-pub branch November 2, 2020 13:34
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.

1 participant