Delete tombstones of the __private module

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 dd1f4b483e so it's unlikely anyone
is still benefiting from the tombstone at this point.
This commit is contained in:
David Tolnay
2023-07-30 22:18:15 -07:00
parent 339dca828d
commit 8a8a8a70ee
2 changed files with 2 additions and 7 deletions
+2 -2
View File
@@ -1231,9 +1231,9 @@ pub trait Deserializer<'de>: Sized {
self,
_: crate::actually_private::T,
visitor: V,
) -> Result<crate::private::de::Content<'de>, Self::Error>
) -> Result<crate::__private::de::Content<'de>, Self::Error>
where
V: Visitor<'de, Value = crate::private::de::Content<'de>>,
V: Visitor<'de, Value = crate::__private::de::Content<'de>>,
{
self.deserialize_any(visitor)
}
-5
View File
@@ -307,11 +307,6 @@ pub use crate::ser::{Serialize, Serializer};
#[path = "private/mod.rs"]
pub mod __private;
#[allow(unused_imports)]
use self::__private as export;
#[allow(unused_imports)]
use self::__private as private;
#[path = "de/seed.rs"]
mod seed;