Skip to content

Conversation

@dtolnay
Copy link
Member

@dtolnay dtolnay commented Sep 15, 2025

Rustc was suggesting these private types in diagnostics, with paths like _::_serde::__private::ser::content::ContentSerializer<E>.

@oli-obk
Copy link
Member

oli-obk commented Sep 15, 2025

Almost looks like we'd want this attribute to work on modules and apply to everything within

@dtolnay dtolnay merged commit 840f6ec into serde-rs:master Sep 15, 2025
14 checks passed
@dtolnay dtolnay deleted the private branch September 15, 2025 15:45
@compiler-errors
Copy link
Contributor

Or perhaps less invasively, we could allow it to be applied to traits.

@Jules-Bertholet
Copy link

It should be implied by doc(hidden), as in rust-lang/rust#119151.

@dtolnay
Copy link
Member Author

dtolnay commented Sep 15, 2025

I agree that doc(hidden) should have this effect, I made an issue for that last year: rust-lang/rust#132024

@Jules-Bertholet
Copy link

rust-lang/rust#146617

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.

4 participants