std: make a lot of items crate private - #161612
Conversation
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
af7af07 to
a6a436d
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Sure. Please no more obscure platform failures, please no more obscure platform failures, please no more obscure platform failures, please no more obscure platform failures... |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
69a1881 to
21fd14f
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
|
Any special-casing of Miri in the standard library requires review. cc @rust-lang/miri |
Heh. I think at that point I'll just remove the |
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment was marked as off-topic.
This comment was marked as off-topic.
375d9f3 to
555957a
Compare
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
This comment has been minimized.
I was afraid of this. |
|
This PR was rebased onto a different main commit. Here's a range-diff highlighting what actually changed. Rebasing is a normal part of keeping PRs up to date, so no action is needed—this note is just to help reviewers. |
This comment has been minimized.
This comment has been minimized.
Most of them don't need to be public, but there are scenarios where thing is private on one platform but public on the other, so having a lint on all the time gets complicated. I enabled the lint, made a lot of things private to the point that dealing with the rest required adding exceptions and disabled the lint back again.
|
☔ The latest upstream changes (presumably #161783) made this pull request unmergeable. Please resolve the merge conflicts by rebasing. |
warn(unreachable_pub)warn(unreachable_pub)So now this commit just tightens the current visibility without trying to enforce it.
View all comments
r? clarfonthey