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

Delete tombstones of the __private module #2547

Merged
merged 1 commit into from Jul 31, 2023
Merged

Conversation

dtolnay
Copy link
Member

@dtolnay dtolnay commented Jul 31, 2023

These are previous names of the __private module — first serde::export then serde::private then serde::__private — in all cases marked doc(hidden) and documented as not public API. Leaving a tombstone made rustc give a better diagnostic "module is private" rather than "unresolved import". But the rename to __private was 2.5 years ago in dd1f4b4 so it's unlikely anyone is still benefiting from the tombstone at this point.

These are previous names of the `__private` module -- first
`serde::export` then `serde::private` then `serde::__private` -- in all
cases marked `doc(hidden)` and documented as not public API. Leaving a
tombstone made rustc give a better diagnostic "module is private" rather
than "unresolved import". But the rename to `__private` was 2.5 years
ago in dd1f4b4 so it's unlikely anyone
is still benefiting from the tombstone at this point.
@dtolnay dtolnay merged commit fe4e3fd into serde-rs:master Jul 31, 2023
16 checks passed
@dtolnay dtolnay deleted the tombstone branch July 31, 2023 05:48
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment
Labels
None yet
Development

Successfully merging this pull request may close these issues.

None yet

1 participant