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 dd1f4b483ee204d58465064f6e5bf5a457543b54 so it's unlikely anyone is still benefiting from the tombstone at this point.
This commit is contained in:
parent
339dca828d
commit
8a8a8a70ee
@ -1231,9 +1231,9 @@ pub trait Deserializer<'de>: Sized {
|
|||||||
self,
|
self,
|
||||||
_: crate::actually_private::T,
|
_: crate::actually_private::T,
|
||||||
visitor: V,
|
visitor: V,
|
||||||
) -> Result<crate::private::de::Content<'de>, Self::Error>
|
) -> Result<crate::__private::de::Content<'de>, Self::Error>
|
||||||
where
|
where
|
||||||
V: Visitor<'de, Value = crate::private::de::Content<'de>>,
|
V: Visitor<'de, Value = crate::__private::de::Content<'de>>,
|
||||||
{
|
{
|
||||||
self.deserialize_any(visitor)
|
self.deserialize_any(visitor)
|
||||||
}
|
}
|
||||||
|
@ -307,11 +307,6 @@ pub use crate::ser::{Serialize, Serializer};
|
|||||||
#[path = "private/mod.rs"]
|
#[path = "private/mod.rs"]
|
||||||
pub mod __private;
|
pub mod __private;
|
||||||
|
|
||||||
#[allow(unused_imports)]
|
|
||||||
use self::__private as export;
|
|
||||||
#[allow(unused_imports)]
|
|
||||||
use self::__private as private;
|
|
||||||
|
|
||||||
#[path = "de/seed.rs"]
|
#[path = "de/seed.rs"]
|
||||||
mod seed;
|
mod seed;
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user